1 # DO NOT EDIT - This file is being maintained by Chef
 
   3 # Boot the first entry by default
 
   6 # Wait two seconds before booting the default entry
 
   9 # Display the menu straight away
 
  10 GRUB_HIDDEN_TIMEOUT="0"
 
  11 GRUB_HIDDEN_TIMEOUT_QUIET="true"
 
  13 # Set the distribution name
 
  14 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
 
  16 # Arguments to add to the kernel command line (all entries)
 
  18 GRUB_CMDLINE_LINUX="nomodeset"
 
  20 GRUB_CMDLINE_LINUX="console=tty0 console=ttyS<%= @unit %>,115200n8 nomodeset"
 
  23 # Arguments to add to the kernel command line (except recovery entries)
 
  24 GRUB_CMDLINE_LINUX_DEFAULT=""
 
  27 # Send console output to the screen
 
  28 GRUB_TERMINAL="console"
 
  30 <% if node[:lsb][:release].to_f >= 12.04 -%>
 
  31 # Send console output to the screen and serial port
 
  32 GRUB_TERMINAL="console serial"
 
  34 # Send console output to the serial port
 
  35 GRUB_TERMINAL="serial"
 
  38 # Configure the serial console
 
  39 GRUB_SERIAL_COMMAND="serial --speed=<%= @speed %> --unit=<%= @unit %> --word=8 --parity=no --stop=1"