X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4b7aea286bd82cf0c86e92319742c31bad356b8d..ecb5d5beac1e41d30e47daa6a034c59b33027d12:/cookbooks/hardware/templates/default/grub.erb?ds=sidebyside 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"