stages/container.storage.conf: restrict locations
Only allow the two known working locations as values for `filename`.
This commit is contained in:
parent
d77e87f3c1
commit
6fee1051c7
1 changed files with 5 additions and 1 deletions
|
|
@ -79,7 +79,11 @@ SCHEMA = r"""
|
||||||
"filename": {
|
"filename": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "location of the configuration file.",
|
"description": "location of the configuration file.",
|
||||||
"default": "/etc/containers/storage.conf"
|
"default": "/etc/containers/storage.conf",
|
||||||
|
"enum": [
|
||||||
|
"/etc/containers/storage.conf",
|
||||||
|
"/usr/share/containers/storage.conf"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"comment": {
|
"comment": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue