use ttyS1 on storace also in grub
[mirror/dsa-puppet.git] / 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 -%>