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

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

 




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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]