2020-08-21 19:43:53 +02:00
|
|
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-06-16 16:06:56 +02:00
|
|
|
---
|
|
|
|
$schema: https://json-schema.org/schema#
|
|
|
|
$id: https://calamares.io/schemas/grubcfg
|
|
|
|
additionalProperties: false
|
|
|
|
type: object
|
|
|
|
properties:
|
2020-08-07 11:43:48 +02:00
|
|
|
overwrite: { type: boolean, default: false }
|
2022-06-27 23:00:13 +02:00
|
|
|
keep_distributor: { type: boolean, default: false }
|
2020-08-07 11:55:16 +02:00
|
|
|
prefer_grub_d: { type: boolean, default: false }
|
2022-01-31 12:38:13 +01:00
|
|
|
kernel_params: { type: array, items: { type: string } }
|
2020-08-07 11:43:48 +02:00
|
|
|
defaults:
|
|
|
|
type: object
|
|
|
|
additionalProperties: true # Other fields are acceptable
|
|
|
|
properties:
|
|
|
|
GRUB_TIMEOUT: { type: integer }
|
|
|
|
GRUB_DEFAULT: { type: string }
|
|
|
|
GRUB_DISABLE_SUBMENU: { type: boolean, default: true }
|
|
|
|
GRUB_TERMINAL_OUTPUT: { type: string }
|
|
|
|
GRUB_DISABLE_RECOVERY: { type: boolean, default: true }
|
2022-11-05 19:24:37 +01:00
|
|
|
required: [ GRUB_TIMEOUT, GRUB_DEFAULT ]
|
|
|
|
always_use_defaults: { type: boolean, default: false }
|