News for hackers. Stuff that matters.
Re:Linux Hypervisor Setup (Libvirt/QEMU/KVM) by ofrzeta on Sunday May 02, 2021 @02:32AM (#27012817)
virt-install with kickstart or preseed files and VMs attached to the serial console, like

virt-install -n centos -r 1024 --cpu=host -l http://mirror.cogentco.com/pub/linux/centos/6/os/x86_64/ --disk path=/var/lib/libvirt/images/centos.img,size=10,bus=virtio --boot kernel_args="console=/dev/ttyS0" -w network=internal,model=virtio --initrd-inject=centos.ks -x "ks=file:/centos.ks console=ttyS0" --graphics none

Setting up the serial console requires some configuration on the host part, too, unfortunately, depending on the OS.

There are no comments on this comment yet.