Skip to content

Commit eb9706b

Browse files
author
Boris Schrijver
committed
Wait for dnsmasq to finish restart
1 parent 69e9348 commit eb9706b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • systemvm/patches/debian/config/opt/cloud/bin/cs

systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def process(self):
5454
self.cloud.commit()
5555

5656
# We restart DNSMASQ every time the configure.py is called in order to avoid lease problems.
57-
CsHelper.service("dnsmasq", "restart")
57+
CsHelper.execute2("service dnsmasq restart")
5858

5959
def configure_server(self):
6060
# self.conf.addeq("dhcp-hostsfile=%s" % DHCP_HOSTS)

0 commit comments

Comments
 (0)