Este conteúdo não está disponível no idioma selecionado.
9.2. Booting a Guest Using PXE
This section demonstrates how to boot a guest virtual machine with PXE.
9.2.1. Using bridged networking Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Procedure 9.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-installcommand 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 --promptCopy 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 order='1'/>element inside the network's<interface>element, as shown in the following example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
9.2.2. Using a Private libvirt Network Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Procedure 9.3. Using a private libvirt network
- Configure PXE booting on libvirt as shown in Section 9.1.1, “Setting up a PXE Boot Server on a Private libvirt Network”.
- Boot a guest virtual machine using libvirt with PXE booting enabled. You can use the
virt-installcommand to create/install a new virtual machine using PXE:virt-install --pxe --network network=default --prompt
virt-install --pxe --network network=default --promptCopy to Clipboard Copied! Toggle word wrap Toggle overflow Alternatively, ensure that the guest network is configured to use your private libvirt network, and that the XML guest configuration file has a<boot order='1'/>element inside the network's<interface>element. In addition, ensure that the guest virtual machine is connected to the private network: