QA:Testcase Virtualization Guest pxeBoot/ru

From FedoraProject

Jump to: navigation, search


This test case will test the PXE boot on guest.If you have a PXE boot server available, testing gPXE is pretty straightforward

Как проводить тестирование

  1. Make sure the guest can access the network which the PXE server is on, e.g. by configuring a bridge.
  2. Define a guest which which will PXE boot from that network:
    $> cat > netboot.xml <<EOF
    <domain type='kvm'>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='network'/>
    <interface type='bridge'>
    <source bridge='br0'/>
    <model type='virtio'/>
    <graphics type='vnc'/>
  3. Start and test the defined guest:
    $> virsh define netboot.xml
    $> virsh start netboot
    $> virt-viewer netboot

Ожидаемые результаты

  1. Confirm that the guest has obtained a DHCP address and download the appropriate files via TFTP
  2. No errors during booting