[pve-devel] [PATCH 2/3] API2: remove require full parameter for snapshot cloning

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Fri Feb 7 12:41:55 CET 2014


Am 07.02.2014 09:27, schrieb Alexandre DERUMIER:
> Thanks for the patch stefan, I'll try them next week.
> 
> about this patch,
> 
>>> - if ($param->{full} || !PVE::Storage::volume_is_base($storecfg, $drive->{file})) { 
>>> + if ($param->{full}) { 
>>> die "Full clone feature is not available" 
>>> if !PVE::Storage::volume_has_feature($storecfg, 'copy', $drive->{file}, $snapname, $running); 
>>> $drive->{full} = 1; 

fixed see new patch V2



More information about the pve-devel mailing list