X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fgrub%2Ftemplates%2Fpuppet-grub-serial.cfg.erb;h=36f476bf29c292b250d5e173270d3adc54e64b99;hb=70091d4278b3b614652c8ef99dc692e89bc28967;hp=dd1f8022e20d229e6d6aa4fbd7998ced7e9d33ee;hpb=a5356e1286dff8f4ad228a411e2efe3bd6114cc0;p=mirror%2Fdsa-puppet.git diff --git a/modules/grub/templates/puppet-grub-serial.cfg.erb b/modules/grub/templates/puppet-grub-serial.cfg.erb index dd1f8022e..36f476bf2 100644 --- a/modules/grub/templates/puppet-grub-serial.cfg.erb +++ b/modules/grub/templates/puppet-grub-serial.cfg.erb @@ -1,2 +1,6 @@ GRUB_TERMINAL="serial console" +<%- if %w{storace 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 -%>