From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 30: Line 30:
  
 
=== Test Cases ===
 
=== Test Cases ===
[[QA:Testcase_Virtualization_Guest_pxeBoot|Virtualization guest PXE]]
+
 
 +
If you have a PXE boot server available, testing gPXE is pretty straightforward:
 +
 
 +
* Make sure the guest can access the network which the PXE server is on, e.g. by [http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging configuring a bridge].
 +
* Define a guest which which will PXE boot from that network:
 +
:<pre>
 +
:  $> cat > netboot.xml <<EOF
 +
:  <domain type='kvm'>
 +
:    <name>netboot</name>
 +
:    <memory>524288</memory>
 +
:    <os>
 +
:      <type arch='x86_64' machine='pc'>hvm</type>
 +
:      <boot dev='network'/>
 +
:    </os>
 +
:    <devices>
 +
:      <emulator>/usr/bin/qemu-kvm</emulator>
 +
:      <interface type='bridge'>
 +
:        <source bridge='br0'/>
 +
:        <model type='virtio'/>
 +
:      </interface>
 +
:      <graphics type='vnc'/>
 +
:    </devices>
 +
:  </domain>
 +
:  EOF
 +
:  $> virsh define netboot.xml
 +
:  $> virsh start netboot
 +
:  $> virt-viewer netboot
 +
:</pre>
 +
* Confirm that the guest has obtained a DHCP address and download the appropriate files via TFTP
 +
 
 +
* Report any issues found
 +
 
  
 
=== Issues that were identified ===
 
=== Issues that were identified ===

Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 3.0 Unported (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)