aboutsummaryrefslogtreecommitdiff
path: root/config.sh
diff options
from:
to:
context:
space:
mode:
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.sh b/config.sh
index a5f2309..9b8c248 100755
--- a/config.sh
+++ b/config.sh
@@ -41,6 +41,10 @@ if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]]
echo "GRUB_DISABLE_SUBMENU=true" >> /etc/default/grub
## Disable recovery entries to match Fedora
echo "GRUB_DISABLE_RECOVERY=true" >> /etc/default/grub
+ ## Write `menu_auto_hide=1` into grubenv to match Fedora anaconda installs
+ if [["$kiwi_profiles" != *"Server"* ]]; then
+ grub2-editenv /boot/grub2/grubenv set menu_auto_hide=1
+ fi
fi
#======================================