29 lines
725 B
HCL
29 lines
725 B
HCL
log-queries
|
|
log-dhcp
|
|
|
|
#port=0
|
|
listen-address=0.0.0.0
|
|
interface=${Vars.PXE.ListenInterface}
|
|
no-resolv
|
|
expand-hosts
|
|
server=${Vars.ETH0.DNS}
|
|
addn-hosts=/etc/dnsmasq-hosts.conf
|
|
domain=${Vars.PXE.DNSDomain}
|
|
|
|
|
|
enable-tftp
|
|
|
|
pxe-prompt="${Vars.PXE.GreetingMessage}",${Vars.PXE.DelayTime}
|
|
pxe-service=X86PC,"${Vars.PXE.BootingMessage}", http://${Vars.ETH0.IP}:${Vars.MatchBox.HTTPPort}/boot.ipxe
|
|
|
|
%{ if Vars.PXE.DHCPMode == "proxy" }
|
|
dhcp-no-override
|
|
dhcp-range=${Vars.ETH0.IP},proxy
|
|
%{ else }
|
|
dhcp-range=${Vars.PXE.DHCPRange},${Vars.PXE.DHCPLeaseDuration}
|
|
%{ endif }
|
|
dhcp-option=option:dns-server,${Vars.ETH0.IP}
|
|
dhcp-option=option:domain-name,${Vars.PXE.DNSDomain}
|
|
|
|
dhcp-match=set:ipxe,175
|
|
dhcp-vendorclass=BIOS,PXEClient:Arch:00000 |