Signed-off-by: Wolfgang Bumiller <[email protected]>
---
src/PVE/API2/Storage/Content.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/API2/Storage/Content.pm b/src/PVE/API2/Storage/Content.pm
index 1fe7303..bd5e4b2 100644
--- a/src/PVE/API2/Storage/Content.pm
+++ b/src/PVE/API2/Storage/Content.pm
@@ -214,6 +214,7 @@ __PACKAGE__->register_method({
optional => 1,
},
),
+ vtype => get_standard_option('pve-storage-vtype', { optional => 1
}),
},
},
returns => {
@@ -252,7 +253,7 @@ __PACKAGE__->register_method({
my $cfg = PVE::Storage::config();
my $volid = PVE::Storage::vdisk_alloc(
- $cfg, $storeid, $param->{vmid}, $param->{format}, $name, $size,
+ $cfg, $storeid, $param->{vmid}, $param->{format}, $name, $size,
$param->{vtype},
);
return $volid;
--
2.47.2
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel