stages/container.storage.conf: restrict locations

Only allow the two known working locations as values for `filename`.
This commit is contained in:
Christian Kellner 2022-07-22 16:25:23 +02:00
parent d77e87f3c1
commit 6fee1051c7

View file

@ -79,7 +79,11 @@ SCHEMA = r"""
"filename": {
"type": "string",
"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": {
"type": "array",