Signed-off-by: Markus Frank <m.fr...@proxmox.com> --- v3: * removed 'optional => 1' * changed description
src/PVE/Storage/Plugin.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm index 65cf43f..c15dc44 100644 --- a/src/PVE/Storage/Plugin.pm +++ b/src/PVE/Storage/Plugin.pm @@ -354,6 +354,12 @@ sub verify_format { return $fmt; } +PVE::JSONSchema::register_standard_option('pve-vm-image-format', { + type => 'string', + enum => ['raw', 'qcow2', 'vmdk'], + description => "VM image formats.", +}); + PVE::JSONSchema::register_format('pve-storage-options', \&verify_options); sub verify_options { my ($value, $noerr) = @_; -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel