From 69830edd35a089ff74ff5ba6d15c0425595648bd Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 10 Jul 2014 10:51:51 +0100 Subject: [PATCH] grub: disable infinite wait on failed boot --- cookbooks/hardware/templates/default/grub.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookbooks/hardware/templates/default/grub.erb b/cookbooks/hardware/templates/default/grub.erb index 49343e9b0..4042a813b 100644 --- a/cookbooks/hardware/templates/default/grub.erb +++ b/cookbooks/hardware/templates/default/grub.erb @@ -21,7 +21,10 @@ GRUB_CMDLINE_LINUX="console=tty0 console=ttyS<%= @unit %>,115200n8 nomodeset" <% end -%> # Arguments to add to the kernel command line (except recovery entries) -GRUB_CMDLINE_LINUX_DEFAULT="" +GRUB_CMDLINE_LINUX_DEFAULT="panic=30" + +# Do not wait for infinite time on a failed boot +GRUB_RECORDFAIL_TIMEOUT=2 <% if @unit.nil? -%> # Send console output to the screen -- 2.43.2