]> git.proxmox.com Git - pve-common.git/commitdiff
JSONSchema: adding skiplock option here
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 7 Feb 2017 13:50:44 +0000 (14:50 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 7 Feb 2017 13:54:31 +0000 (14:54 +0100)
src/PVE/JSONSchema.pm

index 4ea9007c21e344c024d6ad72ec16f8f920428e68..0737459512ec9c72e1b3d2f0b081c363effec476 100644 (file)
@@ -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',