[grubcfg] Fix config schema

main
Adriaan de Groot 4 years ago
parent 43f9f2e2f4
commit 3fc23e3b07

@ -4,12 +4,14 @@ $id: https://calamares.io/schemas/grubcfg
additionalProperties: false additionalProperties: false
type: object type: object
properties: properties:
"overwrite": { type: boolean, default: false } overwrite: { type: boolean, default: false }
"defaults": defaults:
type: map type: object
mapping: additionalProperties: true # Other fields are acceptable
"GRUB_TIMEOUT": { type: int, required: true } properties:
"GRUB_DEFAULT": { type: string, required: true } GRUB_TIMEOUT: { type: integer }
"GRUB_DISABLE_SUBMENU": { type: boolean, default: true } GRUB_DEFAULT: { type: string }
"GRUB_TERMINAL_OUTPUT": { type: string, required: true } GRUB_DISABLE_SUBMENU: { type: boolean, default: true }
"GRUB_DISABLE_RECOVERY": { type: boolean, default: true } GRUB_TERMINAL_OUTPUT: { type: string }
GRUB_DISABLE_RECOVERY: { type: boolean, default: true }
required: [ GRUB_TIMEOUT, GRUB_DEFAULT, GRUB_TERMINAL_OUTPUT ]

Loading…
Cancel
Save