use ttyS1 on storace also in grub
authorPeter Palfrader <peter@palfrader.org>
Sat, 2 Sep 2017 15:14:20 +0000 (17:14 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 2 Sep 2017 15:14:20 +0000 (17:14 +0200)
modules/grub/templates/puppet-grub-serial.cfg.erb

index dd1f802..96e3df1 100644 (file)
@@ -1,2 +1,6 @@
 GRUB_TERMINAL="serial console"
+<%- if %w{storace}.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 -%>