mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
12be42ee7e
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>
22 lines
650 B
Plaintext
22 lines
650 B
Plaintext
##WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
|
|
##OVERWRITTEN AND LOST. Changes to this configuration should be made using:
|
|
## virsh net-edit netboot
|
|
## or other application using the libvirt API.
|
|
##
|
|
## dnsmasq conf file created by libvirt
|
|
strict-order
|
|
domain=example.com
|
|
expand-hosts
|
|
except-interface=lo
|
|
bind-dynamic
|
|
interface=virbr1
|
|
enable-tftp
|
|
tftp-root=/var/lib/tftproot
|
|
dhcp-range=192.168.122.2,192.168.122.254,255.255.255.0
|
|
dhcp-no-override
|
|
dhcp-authoritative
|
|
dhcp-boot=pxeboot.img
|
|
dhcp-lease-max=253
|
|
dhcp-hostsfile=/var/lib/libvirt/dnsmasq/netboot.hostsfile
|
|
addn-hosts=/var/lib/libvirt/dnsmasq/netboot.addnhosts
|