how to access VM console

  • try to connect to VM console
virsh list
virsh console ID
(enter)

  • if you cannot access to VM console, login into VM and modify below lines
# you can verify VM IP using virsh net-dhcp-leases ID or nova list
# you can use vt102 instead of xterm below

cp /etc/init/tty1.conf /etc/init/ttyS0.conf
vi ttyS0.conf
exec /sbin/getty -8 115200 ttyS0 xterm

or

vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=”console=tty1 console=ttyS0″

update-grub
reboot

Leave a Reply

Your email address will not be published. Required fields are marked *