fix templates
[mirror/dsa-puppet.git] / modules / grub / templates / puppet-kernel-serial.cfg.erb
1 <%- if %w{arm-conova-01 arm-arm-01}.include?(@hostname) then -%>
2 GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=ttyAMA0,115200n8"
3 <%- elsif %w{arm-arm-03}.include?(@hostname) then -%>
4 GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=ttyS0,115200"
5 <%- elsif %w{aagaard acker}.include?(@hostname) then -%>
6 GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=ttyS0,115200 earlycon"
7 <% else -%>
8 GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS0,115200n8"
9 <%- end -%>