
There is a known issue in legacy grub. When using splashimage with serial console, Legacy grub wont start properly. This commit is to ensure that when serial console is used, legacy grub should not contain splashimage. It also adds serial support to legacy grub configuration file. Change-Id: I2007916998dfe7c66ef51bf8c57c1698dc0fcb75
Start getty on active serial consoles.
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: We dynamically start a getty on any active serial port via udev rules.