-
Notifications
You must be signed in to change notification settings - Fork 575
/
Copy pathgrub
22 lines (21 loc) · 1004 Bytes
/
grub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="AzureLinux"
GRUB_DISABLE_SUBMENU=y
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="{{.LuksUUID}} {{.LVM}} {{.IMAPolicy}} {{.SELinux}} {{.FIPS}} rd.auto=1 net.ifnames=0 lockdown=integrity {{.CGroup}}"
GRUB_CMDLINE_LINUX_DEFAULT="{{.ExtraCommandLine}} \$kernelopts"
# =============================notice===============================
# IMPORTANT: package and feature-specific behaviors are defined in
# /etc/default/grub.d/*.cfg. The cfg files are sourced last
# before grub2-mkconfig is called and hence have higher precedence
# than this file's GRUB_CMDLINE_LINUX. The order as it appears in the
# Linux commandline is:
# - first GRUB_CMDLINE_LINUX
# - then /etc/default/grub.d/*.cfg
# - and finally GRUB_CMDLINE_LINUX_DEFAULT
# =============================notice===============================
for x in /etc/default/grub.d/*.cfg ; do
if [ -e "${x}" ]; then
. "${x}" || grub_warn "Received non-zero exit code from ${x}."
fi
done