X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fgrub%2Ftemplates%2Fpuppet-kernel-serial.cfg.erb;h=15daa2e375461303ac186e58dedf010f888c96b3;hb=cb99d997e736f428f4f1264a0894e30b5302ef3d;hp=0a085efcbb04ed15cdb7c7f1f09daaae0f62ae25;hpb=56e59e695d67665c4983de22b8a3864a192817d9;p=mirror%2Fdsa-puppet.git diff --git a/modules/grub/templates/puppet-kernel-serial.cfg.erb b/modules/grub/templates/puppet-kernel-serial.cfg.erb index 0a085efcb..15daa2e37 100644 --- a/modules/grub/templates/puppet-kernel-serial.cfg.erb +++ b/modules/grub/templates/puppet-kernel-serial.cfg.erb @@ -1,5 +1,11 @@ -<%- if %w{arm-conova-01 arm-arm-01}.include?(hostname) then -%> +<%- if %w{amdahl arm-conova-01 arm-conova-02 arm-arm-01}.include?(@hostname) then -%> GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=ttyAMA0,115200n8" +<%- elsif %w{arm-arm-03}.include?(@hostname) then -%> +GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=ttyS0,115200" +<%- elsif %w{conova-node01 conova-node02}.include?(@hostname) then -%> +GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=ttyS0,115200 earlycon" +<%- elsif %w{storace fasolo klecker clementi czerny casulana mirror-umn}.include?(@hostname) then -%> +GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS1,115200n8" <% else -%> GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS0,115200n8" <%- end -%>