Merge "Pass '--dhcp-authoritative' option to dnsmasq"
This commit is contained in:
commit
770daef9fb
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user