1f1c39513f8acfcd928bdab46296afc8aab43e43
[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 <%- elsif %w{storace}.include?(@hostname) then -%>
8 GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS1,115200n8"
9 <% else -%>
10 GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS0,115200n8"
11 <%- end -%>