github.com/rancher/elemental/tests@v0.0.0-20240517125144-ae048c615b3f/assets/net-default.xml (about)

     1  <network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'>
     2    <name>default</name>
     3    <forward mode='nat'>
     4      <nat>
     5        <port start='1024' end='65535'/>
     6      </nat>
     7    </forward>
     8    <bridge name='virbr0' stp='on' delay='0'/>
     9    <ip address='192.168.122.1' netmask='255.255.255.0'>
    10      <dhcp>
    11        <range start='192.168.122.2' end='192.168.122.254'/>
    12        <bootp file='http://192.168.122.1:8000/install.ipxe'/>
    13      </dhcp>
    14    </ip>
    15    <dnsmasq:options>
    16      <dnsmasq:option value='dhcp-match=set:efi-http,option:client-arch,16'/>
    17      <dnsmasq:option value='dhcp-boot=tag:efi-http,http://192.168.122.1:8000/ipxe.efi'/>
    18      <dnsmasq:option value='dhcp-option-force=tag:efi-http,60,HTTPClient'/>
    19    </dnsmasq:options>
    20  </network>