[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Two issues regarding TFTP support in virtual networks...




You are not giving BOOTP info (you are missing the<bootp>  tag,
which goes inside<dhcp>).

Okay, here's the XML that's now being generated by my test script:

<network>
<name>testbr6253</name>
<forward mode='nat' />
<bridge name='testbr6253' stp='on' forwardDelay='0' />
<ip address='192.168.133.1' netmask='255.255.255.0'>
<tftp root='/tmp/tmp.dEf7FPCaKm/tftpboot' />
<bootp file='pxelinux.0' />
<dhcp>
<range start='192.168.133.100' end='192.168.133.199' />
</dhcp>
</ip>
</network>

However, I still get the message "No filename or root path specified"
within the VM and it does not boot from the above directory.

<bootp> must be within <dhcp> (think of elements within <ip> as services that run, such as TFTP or DHCP; <bootp> is just additional data that is passed via DHCP).

Paolo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]