projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
decomission klecker rt#7582
[mirror/dsa-puppet.git]
/
modules
/
grub
/
templates
/
puppet-grub-serial.cfg.erb
diff --git
a/modules/grub/templates/puppet-grub-serial.cfg.erb
b/modules/grub/templates/puppet-grub-serial.cfg.erb
index
42597a9
..
36f476b
100644
(file)
--- a/
modules/grub/templates/puppet-grub-serial.cfg.erb
+++ b/
modules/grub/templates/puppet-grub-serial.cfg.erb
@@
-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"
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"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"
+<% end -%>