Signed-off-by: Alexandre Derumier <aderum...@odiso.com> --- PVE/QemuServer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 4ccf10a..054394b 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6144,7 +6144,8 @@ sub clone_disk { push @$newvollist, $newvolid; } else { - my ($storeid, $volname) = PVE::Storage::parse_volume_id($drive->{file}); + my ($storeid, $volname) = PVE::Storage::parse_volume_id($drive->{file}, 1); + $volname = $drive->{file} if !$storeid; $storeid = $storage if $storage; my ($defFormat, $validFormats) = PVE::Storage::storage_default_format($storecfg, $storeid); -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel