I need to install a KVM guest OS but without the use of a GUI. What I found so far:
create a disk image for the guest
qemu-img create -f qcow2 vdisk.img 10G
install the guest OS
qemu-system-x86_64 -hda vdisk.img -cdrom /path/to/boot-media.iso \
-boot d -m 1024 -localtime -clock unix -nographic
Adding in the nographic paramater will disable the video output and I'll see nothing; I would have expected some output to be redirected to the console, but I get nothing.
I tried replacing -nographic
with -curses
but that did not help either.
So the question stands: can you install an guess OS in kvm without a GUI?