stages/ostree: add schema for osname, commit
Add missing schema information for the `osname` and `commit` options.
This commit is contained in:
parent
685650cda2
commit
91a4810808
1 changed files with 9 additions and 1 deletions
|
|
@ -30,8 +30,12 @@ the sysroot and the deployments. Additional kernel options can be passed via
|
|||
[1] https://ostree.readthedocs.io/en/latest/manual/deployment/
|
||||
"""
|
||||
STAGE_OPTS = """
|
||||
"required": ["rootfs"],
|
||||
"required": ["commit", "osname", "rootfs"],
|
||||
"properties": {
|
||||
"commit": {
|
||||
"description": "checksum of the OSTree commit",
|
||||
"type": "string"
|
||||
},
|
||||
"mounts": {
|
||||
"description": "Mount points of the final file system",
|
||||
"type": "array",
|
||||
|
|
@ -52,6 +56,10 @@ STAGE_OPTS = """
|
|||
}
|
||||
}
|
||||
},
|
||||
"osname": {
|
||||
"description": "Name of the stateroot to be used in the deployment",
|
||||
"type": "string"
|
||||
},
|
||||
"kernel_opts": {
|
||||
"description": "Additional kernel command line options",
|
||||
"type": "array",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue