Unable to kickstart kvm guest over pxe boot
Issue
- Unable to kickstart kvm guest over pxe boot. However able to kickstart a regular host over pxe boot so the pxe boot configuration works.
- The setup is as follows:
- Have a working dhcp server to which add the clients mac address and configuration settings.
- Have a working tftpboot service running on the same server where dhcp sits and its also working.
- The problem however comes up when try to launch kvm guest to be installed over pxe boot with the following command:
/usr/sbin/virt-install --hvm --connect qemu:///system --network=bridge:br1 --pxe -n kvmtest -r 2048 -m 00:16:3e:22:a5:7a --vcpus=1 -s 10 --os-type linux --os-variant rhel6 -f /kvm/umlaut/kvmtest.img
- Further more when try to boot the kvm over cdrom and then issue a kickstart then it works fine.
boot: linux ks=http://blackwood1/path/to/ks.cfg ksdevice=eth0
- Also here is what nics look like.
eth0 = public (used for host public interface only)
eth1 = bridged into br1;
br1 = bridge (used for kvm guest public interface ex: eth0)
Environment
- Red Hat Enterprise Linux 6.0
- KVM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.