diff --git a/src/modules/postcfg/main.py b/src/modules/postcfg/main.py index ace29f45f..5f0c4d4ad 100644 --- a/src/modules/postcfg/main.py +++ b/src/modules/postcfg/main.py @@ -101,6 +101,10 @@ class ConfigController: and libcalamares.globalstorage.value("bootLoader") is not None: target_env_call(["update-grub"]) + # Enable 'menu_auto_hide' when supported in grubenv + if exists(join(self.root, "usr/bin/grub-set-bootflag")): + target_env_call(["grub-editenv", "-", "set", "menu_auto_hide=1", "boot_success=1"]) + return None