This is may be somewat off-topic, but still... I've got a server with RHEL 6.0 installed as a 'Virtual Host', with no GUI. I try to install Fedora 14 as guest as follows:
Code:
virt-install \
--name=FE \
--hvm \
--connect=qemu:///system \
--ram=756 \
--vcpus=1 \
--file=/var/lib/libvirt/images/FE.img \
--file-size=8 \
--network=bridge:br0 \
--nographics \
--os-type=linux \
--os-variant=generic26 \
--cdrom=/opt/Fedora-14-x86_64-DVD.iso \
--extra-args='console=tty0 console=ttyS0,115200'
Output:
Code:
Starting install...
Creating domain... | 0 B 00:00
Connected to domain FE
Escape character is ^]
ÿ
OK, doesn't work that way... My next try was to install X-windows and Gnome desktop onto hypervisor host - just to check it works at all. It worked with --nographics option changed to --vnc, both on the same host and when connected from laptop with Fedora GUI over ssh (ssh -X user@192.168.1.1). OK, so it is about video output, that gets 'lost in translation' somewhere.
My next try was RHEL 6.0 with no GUI (as in the beginning), but this time over ssh from GUI-enabled laptop over ssh -X user@192.168.1.1. Nope, same output as initially.
So, my question is: How to install a guest from distribution DVD image on a KVM bare-metal hypervisor machine, if the hypervisor machine doesn't provide any graphical interface, just plain command line?