Support configuring upstream interface on coordinators

This commit is contained in:
2018-10-14 21:56:58 -04:00
parent 709be9fbba
commit a3b1445bf1
3 changed files with 20 additions and 4 deletions

View File

@ -324,9 +324,11 @@ add rule inet filter input meta iifname {bridgenic} counter drop
dhcp_configuration = [
'--domain-needed',
'--bogus-priv',
'--no-resolv',
# '--no-resolv',
'--no-hosts',
'--filterwin2k',
'--expand-hosts',
'--domain-needed',
'--domain={}'.format(self.domain),
'--local=/{}/'.format(self.domain),
'--auth-zone={}'.format(self.domain),
@ -337,7 +339,6 @@ add rule inet filter input meta iifname {bridgenic} counter drop
'--leasefile-ro',
'--dhcp-script=/usr/share/pvc/pvcd/dnsmasq-zookeeper-leases.py',
'--dhcp-range={},{},4h'.format(self.dhcp_start, self.dhcp_end),
'--dhcp-lease-max=99',
'--dhcp-hostsdir={}'.format(self.dnsmasq_hostsdir),
'--log-queries=extra',
'--log-facility={}/dnsmasq.log'.format(self.config['dnsmasq_log_directory']),