[pve-devel] [PATCH storage 23/26] pvesm: add vtype parameter to import command
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Jul 29 13:15:36 CEST 2025
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
src/PVE/CLI/pvesm.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/CLI/pvesm.pm b/src/PVE/CLI/pvesm.pm
index 860e46f..354582f 100755
--- a/src/PVE/CLI/pvesm.pm
+++ b/src/PVE/CLI/pvesm.pm
@@ -408,6 +408,7 @@ __PACKAGE__->register_method({
maxLength => 40,
optional => 1,
},
+ vtype => get_standard_option('pve-storage-vtype', { optional => 1 }),
},
},
returns => { type => 'string' },
@@ -491,6 +492,7 @@ __PACKAGE__->register_method({
$param->{base},
$param->{'with-snapshots'},
$param->{'allow-rename'},
+ $param->{vtype},
);
PVE::Storage::volume_snapshot_delete($cfg, $imported_volid, $delete)
if defined($delete);
--
2.47.2
More information about the pve-devel
mailing list