]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/grub.erb
Filter out FailedOpenDevice messages from areca controllers
[chef.git] / cookbooks / hardware / templates / default / grub.erb
index 1c19cf684a2f1814e9965d1179ef3eb01ed7934f..3db55919188f5608bd7b85245bee0880e3fc526a 100644 (file)
@@ -1,7 +1,8 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
-# Boot the first entry by default
-GRUB_DEFAULT="0"
+# Boot the first entry by default, unless we have configured
+# it to boot a specific version.
+GRUB_DEFAULT="<%= @entry %>"
 
 # Wait two seconds before booting the default entry
 GRUB_TIMEOUT="2"