]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/grub.erb
Add ghes.disable=1 to boot options on ramoth
[chef.git] / cookbooks / hardware / templates / default / grub.erb
index 4042a813bbc767e40a5461630d77179e48279421..1c19cf684a2f1814e9965d1179ef3eb01ed7934f 100644 (file)
@@ -15,9 +15,9 @@ GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
 
 # Arguments to add to the kernel command line (all entries)
 <% if @unit.nil? -%>
-GRUB_CMDLINE_LINUX="nomodeset"
+GRUB_CMDLINE_LINUX="<%= node[:hardware][:grub][:cmdline].join(" ") %>"
 <% else -%>
-GRUB_CMDLINE_LINUX="console=tty0 console=ttyS<%= @unit %>,115200n8 nomodeset"
+GRUB_CMDLINE_LINUX="console=tty0 console=ttyS<%= @unit %>,115200n8 <%= node[:hardware][:grub][:cmdline].join(" ") %>"
 <% end -%>
 
 # Arguments to add to the kernel command line (except recovery entries)