X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/0bba2366d12a23df735f541d29ae99561479da6d..69830edd35a089ff74ff5ba6d15c0425595648bd:/cookbooks/hardware/templates/default/grub.erb 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