[pve-devel] [PATCH container 3/3] add vtype to rename_volume call
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Jul 29 13:15:42 CEST 2025
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
src/PVE/API2/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index aa11fc6..50c7670 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -2601,7 +2601,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, 'ct-vol',
);
$drive->{volume} = $new_volid;
--
2.47.2
More information about the pve-devel
mailing list