From 77cbb64b9f6ed743edb0255ca50fdb1e7c496d4c Mon Sep 17 00:00:00 2001 From: Rick Wright Date: Mon, 28 Sep 2015 14:51:31 -0700 Subject: [PATCH] GRUB_HIDDEN_TIMEOUT should be a numeric value. This changes GRUB_HIDDEN_TIMEOUT to 0 from true and sets GRUB_HIDDEN_TIMEOUT_QUIET to true. --- bootstrapvz/common/tasks/grub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrapvz/common/tasks/grub.py b/bootstrapvz/common/tasks/grub.py index f61d175..34a0141 100644 --- a/bootstrapvz/common/tasks/grub.py +++ b/bootstrapvz/common/tasks/grub.py @@ -29,7 +29,8 @@ class ConfigureGrub(Task): sed_i(grub_def, '^GRUB_CMDLINE_LINUX_DEFAULT="quiet"', 'GRUB_CMDLINE_LINUX_DEFAULT="console=hvc0"') sed_i(grub_def, '^GRUB_TIMEOUT=[0-9]+', 'GRUB_TIMEOUT=0\n' - 'GRUB_HIDDEN_TIMEOUT=true') + 'GRUB_HIDDEN_TIMEOUT=0\n' + 'GRUB_HIDDEN_TIMEOUT_QUIET=true') sed_i(grub_def, '^#GRUB_DISABLE_RECOVERY="true"', 'GRUB_DISABLE_RECOVERY="true"')