Use ttyS1 on csail-node0[12]
[mirror/dsa-puppet.git] / modules / grub / templates / puppet-grub-serial.cfg.erb
index 42597a9..767a0ea 100644 (file)
@@ -1,8 +1,6 @@
-<%- if scope.lookupvar('::debarchitecture') == "arm64" -%>
-GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=ttyAMA0,115200n8"
-<% else -%>
-GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS0,115200n8"
-<%- end -%>
-
 GRUB_TERMINAL="serial console"
+<%- if %w{storace klecker clementi czerny csail-node01 csail-node02}.include?(@hostname) then -%>
+GRUB_SERIAL_COMMAND="serial --unit=1 --speed=115200 --word=8 --parity=no --stop=1"
+<% else -%>
 GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"
+<% end -%>