Permalink
Browse files

grub: enable automatic reboot on linux panic

  • Loading branch information...
1 parent 2008179 commit 2543370b2db89de3120484719879c37073c513f8 @zeha committed Aug 6, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 grub/files/grub.default
  2. +1 −0 grub/manifests/init.pp
View
@@ -5,7 +5,7 @@ GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
-GRUB_CMDLINE_LINUX=""
+GRUB_CMDLINE_LINUX="panic=30"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
View
@@ -11,5 +11,6 @@
exec { "update-grub":
path => "/usr/sbin:/sbin:/usr/bin:/bin",
user => "root",
+ refreshonly => true,
}
}

0 comments on commit 2543370

Please sign in to comment.