aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rwxr-xr-xconfig.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/config.sh b/config.sh
index ec21db4..1079bce 100755
--- a/config.sh
+++ b/config.sh
@@ -41,12 +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
- if [[ "$kiwi_profiles" == *"Disk"* ]]; then
- ## Write `menu_auto_hide=1` into grubenv to match Fedora anaconda installs
- ## Set boot_indeterminate to avoid displaying the grub menu on first boot
- if [[ "$kiwi_profiles" != *"Server"* ]] || [[ "$kiwi_profiles" != *"Cloud"* ]]; then
- grub2-editenv /boot/grub2/grubenv set menu_auto_hide=1 boot_indeterminate=1
- fi
+ ## Write `menu_auto_hide=1` into grubenv to match Fedora anaconda installs
+ ## Set boot_indeterminate to avoid displaying the grub menu on first boot
+ if [[ "$kiwi_profiles" != *"Server"* ]]; then
+ grub2-editenv /boot/grub2/grubenv set menu_auto_hide=1 boot_indeterminate=1
fi
fi