This module configures system for serial console access (boot loader, kernel and login)
Module has been tested on:
- OS:
- Scentific Linux 6
- RHEL/CentOS 7
- Puppet 5.5
Required modules:
- TBD
Setup
include serial_consoleFull configuration options:
class { 'serial_console':
ttys => '...', # device name, e.g. ttyS1
tty => '...', # console device name, e.g. tty0
speed => ..., # serial port speed, e.g. 115200
word => ..., # serial port word size, e.g. 8
parity => '...', # serial port parity, e.g. yes or no
stop => ..., # serial port stop bits, e.g. 1
timeout => ..., # grub menu timeout, e.g. 10
enabled => false|true # create/remove configuration
}
Returns binary file name of init process with PID 1
'init'Returns boot loader name
'grub2'- Igor Muratov imuratov@box.com
Some ideas were taken from https://github.com/CERIT-SC/puppet-serial_console