This adds the vm-vol and ct-vol vtypes introduced in the upcoming commits. Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com> --- src/PVE/Storage/Common.pm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
diff --git a/src/PVE/Storage/Common.pm b/src/PVE/Storage/Common.pm index 222dc76..b2ebd50 100644 --- a/src/PVE/Storage/Common.pm +++ b/src/PVE/Storage/Common.pm @@ -59,6 +59,23 @@ PVE::JSONSchema::register_standard_option( }, ); +=head3 pve-storage-vtype + +Possible vtypes a guest image can have. + +=cut + +PVE::JSONSchema::register_standard_option( + 'pve-storage-vtype', + { + type => 'string', + enum => [qw(vm-vol ct-vol images rootdir)], + description => + "The volume type indicates whether the volume is meant for VMs or containers." + . " The 'images' and 'rootdir' types are for legacy support and should be avoided.", + }, +); + =pod =head1 FUNCTIONS -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel