15.2. Booting a Guest Using PXE
This section demonstrates how to boot a guest virtual machine with PXE.
15.2.1. Using Bridged Networking Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Procedure 15.2. Booting a guest using PXE and bridged networking
- Ensure bridging is enabled such that the PXE boot server is available on the network.
- Boot a guest virtual machine with PXE booting enabled. You can use the
virt-install
command to create a new virtual machine with PXE booting enabled, as shown in the following example command:virt-install --pxe --network bridge=breth0 --prompt
virt-install --pxe --network bridge=breth0 --prompt
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Alternatively, ensure that the guest network is configured to use your bridged network, and that the XML guest configuration file has a<boot dev='network'/>
element inside the<os>
element, as shown in the following example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow