iac/modules/netboot_server/files/dhcp/dnsmasq.conf.tftpl
Florian Maury 0dd3b5bdfe initial
2024-06-04 17:31:09 +02:00

22 lines
647 B
Text

conf-file=/etc/dnsmasq.options
conf-dir=${config_extension_dir},*.conf
port=0 # disables DNS feature
keep-in-foreground # keep in foreground to prevent exit of the container
dhcp-range=${dhcp_range},static,${dhcp_range_netmask}
dhcp-option=option:router,${dhcp_router}
dhcp-option=encap:128,1,"http://${dhcp_server_ip_addr}/"
dhcp-boot=http://${dhcp_server_ip_addr}/ipxe/ipxe.script
dhcp-lease-max=150
dhcp-leasefile=/data/dnsmasq.leases
log-dhcp
#Host Example
#dhcp-host=,id:sample,set:sampletag,10.109.0.10,sample
#dhcp-option=tag:sampletag,encap:128,2,"sample.ign"
#dhcp-option=tag:sampletag,encap:128,3,"/dev/disk/by-path/0000:00:00.0"