diff --git a/recipes/alpine/templates/conf/matchbox/dnsmasq.d/ipxe.conf.pktpl.hcl b/recipes/alpine/templates/conf/matchbox/dnsmasq.d/ipxe.conf.pktpl.hcl index b13d9a1..0de65bc 100644 --- a/recipes/alpine/templates/conf/matchbox/dnsmasq.d/ipxe.conf.pktpl.hcl +++ b/recipes/alpine/templates/conf/matchbox/dnsmasq.d/ipxe.conf.pktpl.hcl @@ -25,6 +25,7 @@ dhcp-no-override dhcp-range=${Vars.ETH0.IP},proxy %{ else } dhcp-range=${Vars.PXE.DHCPRangeStart},${Vars.PXE.DHCPRangeEnd},${Vars.PXE.DHCPLeaseDuration} +dhcp-option=option:router,${Vars.ETH0.Gateway} %{ endif } dhcp-option=option:dns-server,${Vars.ETH0.IP} dhcp-option=option:domain-name,${Vars.PXE.DNSDomain}