X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/4b7aea286bd82cf0c86e92319742c31bad356b8d..d1523ca3533017306b1587db23638d188f2db524:/cookbooks/hardware/templates/default/grub.erb diff --git a/cookbooks/hardware/templates/default/grub.erb b/cookbooks/hardware/templates/default/grub.erb index 1c19cf684..3db559191 100644 --- a/cookbooks/hardware/templates/default/grub.erb +++ b/cookbooks/hardware/templates/default/grub.erb @@ -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"