From: Wolfgang Bumiller Date: Tue, 7 Feb 2017 13:50:44 +0000 (+0100) Subject: JSONSchema: adding skiplock option here X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=26bcdf92d5e8d49fbea192adf2b9b5253f6a50ae;hp=86330049bed1391232ae584f7301f4c368b75375 JSONSchema: adding skiplock option here --- diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 4ea9007..0737459 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -84,6 +84,12 @@ register_standard_option('pve-config-digest', { maxLength => 40, # sha1 hex digest lenght is 40 }); +register_standard_option('skiplock', { + description => "Ignore locks - only root is allowed to use this option.", + type => 'boolean', + optional => 1, +}); + register_standard_option('extra-args', { description => "Extra arguments as array", type => 'array',