Installation guide

PXE guest installation requires a PXE server running on the same subnet as the guest virtual
machines you wish to install. The method of accomplishing this depends on how the virtual
machines are connected to the network. Contact Support if you require assistance setting up a PXE
server.
PXE in st allat io n wit h virt - in st all
vi rt-i nstal l PXE installations require both the --netwo rk= bri d ge: instal l ati o n
parameter, where installation is the name of your bridge, and the --pxe parameter.
By default, if no network is found, the guest virtual machine attempts to boot from alternative bootable
devices. If there is no other bootable device found, the guest pauses. You can use the qemu - kvm
boot parameter reboot-timeout to allow the guest to retry booting if no bootable device is found,
like so:
# qemu-kvm -boot reboot-timeout=1000
Example 6 .2. Fu lly- virt u aliz ed PXE in st allat io n wit h virt -in st all
# virt-install --hvm --connect qemu:///system \
--network=bridge:installation --pxe --graphics spice \
--name rhel6-machine --ram=756 --vcpus=4 \
--os-type=linux --os-variant=rhel6 \
--disk path=/var/lib/libvirt/images/rhel6-machine.img,size=10
Note that the command above cannot be executed in a text-only environment. A fully-virtualized (-
-hvm) guest can only be installed in a text-only environment if the --location and --extra-
args "console=console_type" are provided instead of the --graphics spice parameter.
Pro ced u re 6 .2. PXE in st allat io n wit h virt -man ag er
1.
Select PXE
Select PXE as the installation method and follow the rest of the steps to configure the OS type,
memory, CPU and storage settings.
Chapt er 6 . G uest virt ual machine inst allat ion overview
35