Add virtio serial/console to machines

This commit is contained in:
Anthony Rose 2022-10-01 17:20:42 +01:00
parent 2205cbdfb1
commit 572407bda7

View file

@ -25,6 +25,7 @@ Creating the VM
--cdrom /var/lib/libvirt/isos/rhel-baseos-9.1-x86_64-dvd.iso \ --cdrom /var/lib/libvirt/isos/rhel-baseos-9.1-x86_64-dvd.iso \
--network type=direct,source=enp2s0,source_mode=bridge \ --network type=direct,source=enp2s0,source_mode=bridge \
--graphics vnc \ --graphics vnc \
--console pty,target.type=virtio \
--autoconsole none --autoconsole none
Paths and names should be changed as appropriate. The VNC port can be Paths and names should be changed as appropriate. The VNC port can be