From 26bcdf92d5e8d49fbea192adf2b9b5253f6a50ae Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 7 Feb 2017 14:50:44 +0100 Subject: [PATCH 1/1] JSONSchema: adding skiplock option here --- src/PVE/JSONSchema.pm | 6 ++++++ 1 file changed, 6 insertions(+) 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', -- 2.39.2