stages/grub2: fix schema entry for 'legacy'
The 'legacy' option can either be of type boolean (the old version kept for compatibility reasons) or 'string'. Adjust the schema to account for that.
This commit is contained in:
parent
56a8586bab
commit
4f72036efa
1 changed files with 4 additions and 2 deletions
|
|
@ -66,8 +66,10 @@ STAGE_OPTS = """
|
|||
},
|
||||
"legacy": {
|
||||
"description": "Include legacy boot support",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
"oneOf": [
|
||||
{"type": "boolean", "default": true},
|
||||
{"type": "string", "default": "i386-pc"}
|
||||
]
|
||||
},
|
||||
"uefi": {
|
||||
"description": "Include UEFI boot support",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue