Use ttyAMA0 based on hostname instead of arch
[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 <% else -%>
4 GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS0,115200n8"
5 <%- end -%>