diskimage-builder/elements/serial-console
Dan Prince ae22d39472 Implement serial-console for systemd.
Update install.d/20-stty so that we try to start
a getty on ttyS0 and ttyS1 when using systemd.

Change-Id: Id5b605c74bf82855af0af4d0f95659cdd3a7b3a0
2014-01-13 13:02:54 -05:00
..
install.d Implement serial-console for systemd. 2014-01-13 13:02:54 -05:00
README.md Implement serial-console for systemd. 2014-01-13 13:02:54 -05:00

Start getty on ttyS0 and/or ttyS1

With ILO and other remote admin environments, having a serial console can be useful for debugging and troubleshooting.

For upstart: If ttyS1 exists, getty will run on that, otherwise on ttyS0.

For systemd: Try to start getty on both ttyS0 and ttyS1.