Fix dnsmasq options for DHCP-disabled networks

This commit is contained in:
Joshua Boniface 2020-01-06 16:04:26 -05:00
parent 096a740c4f
commit bbfadac5e1
1 changed files with 2 additions and 1 deletions

View File

@ -654,17 +654,18 @@ add rule inet filter forward ip6 saddr {netaddr6} counter jump {vxlannic}-out
'--domain-needed',
'--domain={}'.format(self.domain),
'--local=/{}/'.format(self.domain),
'--auth-zone={}'.format(self.domain),
'--log-facility=-',
'--log-dhcp',
'--keep-in-foreground',
'--leasefile-ro',
'--dhcp-script={}/pvcd/dnsmasq-zookeeper-leases.py'.format(os.getcwd()),
'--dhcp-hostsdir={}'.format(self.dnsmasq_hostsdir),
'--interface={}'.format(self.bridge_nic),
'--bind-interfaces',
]
dhcp_configuration_v4 = [
'--listen-address={}'.format(self.ip4_gateway),
'--auth-zone={}'.format(self.domain),
'--auth-peer={}'.format(self.ip4_gateway),
'--auth-server={}'.format(self.ip4_gateway),
'--auth-sec-servers={}'.format(self.ip4_gateway),