[pve-devel] [PATCH 3/3] template_create : add template:1 option.

Dietmar Maurer dietmar at proxmox.com
Fri Apr 19 07:13:59 CEST 2013


Hi Akexandre,

I applied part1 and 2, but I do not really understand this one.

> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 7c20f55..1352e24 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -4448,17 +4448,8 @@ sub template_create {
>  	return if $disk && $ds ne $disk;
> 
>  	my $volid = $drive->{file};
> -	die "volume '$volid' does not support template/clone\n"
> -	    if !PVE::Storage::volume_has_feature($storecfg, 'template', $volid);
> -    });

why do you remove that check?




More information about the pve-devel mailing list