The API standard_option pve-vmid always checks the format pve-vmid. The format pve-vmid requires the vmid to be >=100. This is correct, because IDs 1-99 are reserved.
To display this correctly in the API documentation (API viewer, qm man pages), we have to set the minimum to 100 in the API standard_option. Signed-off-by: Dominic Jäger <d.jae...@proxmox.com> --- https://forum.proxmox.com/threads/qm-importovf-man-page.80632/ src/PVE/JSONSchema.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 29ada5b..b4596d3 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -58,7 +58,7 @@ sub get_standard_option { register_standard_option('pve-vmid', { description => "The (unique) ID of the VM.", type => 'integer', format => 'pve-vmid', - minimum => 1 + minimum => 100, }); register_standard_option('pve-node', { -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel