KVM serial console
Zpřístupnění přístupu na konzolu guesta KVM
# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.
start on stopped rc or RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -L 115200 ttyS0 vt102
- start ttyS0
- vim /etc/default/grub
GRUB_TERMINAL=console
GRUB_SERIAL_COMMAND=
"serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"
GRUB_CMDLINE_LINUX_DEFAULT=
""
GRUB_CMDLINE_LINUX=
"text console=tty0 console=ttyS0,115200n8"