mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
test-network: disable DNS function of dnsmasq
This commit is contained in:
parent
0532bd0883
commit
6f783ce5f5
@ -100,7 +100,7 @@ class Utilities():
|
|||||||
shutil.rmtree(os.path.join(network_unit_file_path, unit + '.d'))
|
shutil.rmtree(os.path.join(network_unit_file_path, unit + '.d'))
|
||||||
|
|
||||||
def start_dnsmasq(self):
|
def start_dnsmasq(self):
|
||||||
subprocess.check_call('dnsmasq -8 /var/run/networkd-ci/test-dnsmasq-log-file --log-queries=extra --log-dhcp --pid-file=/var/run/networkd-ci/test-test-dnsmasq.pid --conf-file=/dev/null --interface=veth-peer --enable-ra --dhcp-range=2600::10,2600::20 --dhcp-range=192.168.5.10,192.168.5.200 -R --dhcp-leasefile=/var/run/networkd-ci/lease --dhcp-option=26,1492 --dhcp-option=option:router,192.168.5.1 --dhcp-option=33,192.168.5.4,192.168.5.5', shell=True)
|
subprocess.check_call('dnsmasq -8 /var/run/networkd-ci/test-dnsmasq-log-file --log-queries=extra --log-dhcp --pid-file=/var/run/networkd-ci/test-test-dnsmasq.pid --conf-file=/dev/null --interface=veth-peer --enable-ra --dhcp-range=2600::10,2600::20 --dhcp-range=192.168.5.10,192.168.5.200 -R --dhcp-leasefile=/var/run/networkd-ci/lease --dhcp-option=26,1492 --dhcp-option=option:router,192.168.5.1 --dhcp-option=33,192.168.5.4,192.168.5.5 --port=0', shell=True)
|
||||||
|
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user