mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 11:01:19 +00:00
We already allow users to provide TFTP root path in network XML and not specify any DHCP. This makes sense, because dnsmasq is not only DHCP server but also TFTP server and users might have a DHCP server configured on their own, outside of libvirt's control and want just the TFTP part. By moving TFTP config generator out of DHCP generator and calling it for every IPv4 range, users can finally enable just TFTP. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2026765 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
10 lines
268 B
XML
10 lines
268 B
XML
<network>
|
|
<name>tftp-only</name>
|
|
<uuid>eb486e5c-4df5-42ee-ae4a-ad8557998d00</uuid>
|
|
<forward mode='nat'/>
|
|
<bridge name='virbr0' stp='off' delay='1'/>
|
|
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
|
<tftp root='/var/lib/tftproot'/>
|
|
</ip>
|
|
</network>
|