Merge "Pass '--dhcp-authoritative' option to dnsmasq"

This commit is contained in:
Jenkins 2015-02-05 07:19:09 +00:00 committed by Gerrit Code Review
commit 770daef9fb
2 changed files with 3 additions and 1 deletions

View File

@ -318,6 +318,7 @@ class Dnsmasq(DhcpLocalProcess):
'--addn-hosts=%s' % self.get_conf_file_name('addn_hosts'),
'--dhcp-optsfile=%s' % self.get_conf_file_name('opts'),
'--leasefile-ro',
'--dhcp-authoritative',
]
possible_leases = 0

View File

@ -792,7 +792,8 @@ class TestDnsmasq(TestBase):
'--dhcp-hostsfile=/dhcp/%s/host' % network.id,
'--addn-hosts=/dhcp/%s/addn_hosts' % network.id,
'--dhcp-optsfile=/dhcp/%s/opts' % network.id,
'--leasefile-ro']
'--leasefile-ro',
'--dhcp-authoritative']
seconds = ''
if lease_duration == -1: