2021-10-18 13:17:58 +00:00
|
|
|
# SPDX-FileCopyrightText: no
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
#
|
|
|
|
# Create, overwrite or update /etc/default/grub in the target system.
|
|
|
|
#
|
2019-10-28 13:48:02 +00:00
|
|
|
# Write lines to /etc/default/grub (in the target system) based
|
|
|
|
# on calculated values and the values set in the *defaults* key
|
|
|
|
# in this configuration file.
|
|
|
|
#
|
|
|
|
# Calculated values are:
|
2021-10-18 13:17:58 +00:00
|
|
|
# - GRUB_DISTRIBUTOR, branding module, *bootloaderEntryName* (this
|
|
|
|
# string is sanitized, and see also setting *keepDistributor*)
|
2019-10-28 13:48:02 +00:00
|
|
|
# - GRUB_ENABLE_CRYPTODISK, based on the presence of filesystems
|
|
|
|
# that use LUKS
|
|
|
|
# - GRUB_CMDLINE_LINUX_DEFAULT, adding LUKS setup and plymouth
|
|
|
|
# support to the kernel.
|
|
|
|
|
|
|
|
---
|
|
|
|
# If set to true, always creates /etc/default/grub from scratch even if the file
|
|
|
|
# already existed. If set to false, edits the existing file instead.
|
|
|
|
overwrite: false
|
|
|
|
|
2021-10-18 13:17:58 +00:00
|
|
|
# If set to true, prefer to write files in /etc/default/grub.d/
|
|
|
|
# rather than the single file /etc/default/grub. If this is set,
|
|
|
|
# Calamares will write /etc/default/grub.d/00Calamares instead.
|
|
|
|
prefer_grub_d: false
|
|
|
|
|
|
|
|
# If set to true, an **existing** setting for GRUB_DISTRIBUTOR is
|
|
|
|
# kept, not updated to the *bootloaderEntryName* from the branding file.
|
|
|
|
# Use this if the GRUB_DISTRIBUTOR setting in the file is "smart" in
|
|
|
|
# some way (e.g. uses shell-command substitution).
|
|
|
|
keepDistributor: false
|
|
|
|
|
2019-10-28 13:48:02 +00:00
|
|
|
# Default entries to write to /etc/default/grub if it does not exist yet or if
|
|
|
|
# we are overwriting it.
|
|
|
|
#
|
|
|
|
defaults:
|
|
|
|
GRUB_TIMEOUT: 5
|
|
|
|
GRUB_DEFAULT: "saved"
|
|
|
|
GRUB_DISABLE_SUBMENU: true
|
|
|
|
GRUB_TERMINAL_OUTPUT: "console"
|
|
|
|
GRUB_DISABLE_RECOVERY: true
|