Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com>
---
 src/PVE/API2/Qemu.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/Qemu.pm b/src/PVE/API2/Qemu.pm
index a3f967f3..76883a5b 100644
--- a/src/PVE/API2/Qemu.pm
+++ b/src/PVE/API2/Qemu.pm
@@ -4904,7 +4904,7 @@ __PACKAGE__->register_method({
                                 (PVE::Storage::parse_volname($storecfg, 
$source_volid))[6];
 
                             my $new_volid = PVE::Storage::rename_volume(
-                                $storecfg, $source_volid, $target_vmid,
+                                $storecfg, $source_volid, $target_vmid, undef, 
'vm-vol',
                             );
 
                             $drive->{file} = $new_volid;
-- 
2.47.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to