And set net.ifnames to 0
[mirror/dsa-puppet.git] / modules / grub / templates / puppet-grub-serial.cfg.erb
1 <%- if scope.lookupvar('::debarchitecture') == "arm64" -%>
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 -%>
6
7 GRUB_TERMINAL="serial console"
8 GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"