Virsh: Difference between revisions

From DWIKI
Line 2: Line 2:
*https://help.ubuntu.com/community/KVM/Virsh
*https://help.ubuntu.com/community/KVM/Virsh
*http://virt-tools.org/learning/
*http://virt-tools.org/learning/
*[https://www.centos.org/docs/5/html/5.2/Virtualization/chap-Virtualization-Managing_guests_with_virsh.html Managing guests with virsh]


=FAQ=
=FAQ=

Revision as of 09:48, 3 November 2016

Docs

FAQ

Find IP address of a guest

https://rwmj.wordpress.com/2010/10/26/tip-find-the-ip-address-of-a-virtual-machine/


Virsh console

Centos 6, 7

To get to see bootloader:

grubby --update-kernel=ALL --args="console=ttyS0"

ON Centos 6 you need to create /etc/init/ttyS0.conf:

stop on runlevel[S016]
start on stopped rc RUNLEVEL=[2345]
respawn
instance /dev/ttyS0
exec /sbin/mingetty /dev/ttyS0

Add "ttyS0" to /etc/securetty And then run:

initctl start ttyS0