32 lines
793 B
HCL
32 lines
793 B
HCL
log-queries
|
|
log-dhcp
|
|
|
|
#port=0
|
|
listen-address=0.0.0.0
|
|
interface=${Vars.PXE.ListenInterface}
|
|
no-resolv
|
|
domain-needed
|
|
bogus-priv
|
|
expand-hosts
|
|
server=${Vars.ETH0.DNS}
|
|
strict-order
|
|
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.DHCPRangeStart},${Vars.PXE.DHCPRangeEnd},${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 |