Blogs » Jeff Brown's blog

QEMU-KVM LIBVIRT EDIT DHCP MAC ADDRESS IP / ENABLE CONSOLE!!

https://serverfault.com/questions/627238/kvm-libvirt-how-to-configure-st...

virsh  dumpxml  ispa-vm | grep 'mac address'
virsh  net-list
virsh  net-edit default

virsh net-destroy default
virsh net-start default

-----
Enable serial TTY console
--------------
WORKS
cp -a /lib/systemd/system/serial-getty@.service /etc/systemd/system/
systemctl enable serial-gettyatttyS0 [dot] service
systemctl start serial-gettyatttyS0 [dot] service

On hypervisor host:
virsh list --all
virsh console name-vm
Press ENTER
login/logout
Ctrl-] to exit console

ENABLE tty1 for VNC access to control via Virtual Machine Manager:
# Change Graphics "Display Spice" setting from "Spice Server" to "VNC Server "

Comments

Add new comment

Total views: 623