Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
f18m committed Nov 29, 2024
1 parent cf722f1 commit b21b958
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rootfs/usr/share/tempio/dnsmasq.config
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ dhcp-range={{ .dhcp_range.start_ip }},{{ .dhcp_range.end_ip }},{{ .network.netma
# Set gateway -- i.e. option #3 of DHCP specs
dhcp-option=3,{{ .network.gateway }}

{{ if not .dns_server.enable }}
{{ if .network.dns }}
{{ if gt (len .network.dns) 0 }}
# Set DNS server(s)) -- i.e. option #6 of DHCP specs
dhcp-option=6{{ range .network.dns }},{{ . }}{{ end }}
{{ end }}
{{ end }}
{{ end }}

{{ if .network.ntp_resolved }}
{{ if gt (len .network.ntp_resolved) 0 }}
Expand Down

0 comments on commit b21b958

Please sign in to comment.