projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8633004
)
JSONSchema: adding skiplock option here
author
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Tue, 7 Feb 2017 13:50:44 +0000
(14:50 +0100)
committer
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Tue, 7 Feb 2017 13:54:31 +0000
(14:54 +0100)
src/PVE/JSONSchema.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/JSONSchema.pm
b/src/PVE/JSONSchema.pm
index 4ea9007c21e344c024d6ad72ec16f8f920428e68..0737459512ec9c72e1b3d2f0b081c363effec476 100644
(file)
--- 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',