Virsh Console

Aus xinux.net
Zur Navigation springen Zur Suche springen
Hostsystem

Aktivieren des Getty auf ttyS0 im Gast

  • systemctl start serial-getty@ttyS0.service
  • systemctl enable serial-getty@ttyS0.service

Grub2 auf Konsole

  • /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"
  • update-grub

Zugriff über den Host

root@bajor:~# virsh console orion
Connected to domain orion
Escape character is ^]

ENTER DRÜCKEN

Ubuntu 16.04 LTS orion ttyS0

orion login:

Über CTRL+ALTGr+9 kommt man wieder raus.

Links