Wait for dnsmasq to finish restart
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/eb9706b6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/eb9706b6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/eb9706b6 Branch: refs/heads/4.8 Commit: eb9706b6558d5113000a6c10d861308fbc8cd692 Parents: 69e9348 Author: Boris Schrijver <[email protected]> Authored: Wed Feb 3 16:15:28 2016 +0100 Committer: Boris Schrijver <[email protected]> Committed: Fri Feb 5 12:02:58 2016 +0100 ---------------------------------------------------------------------- systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/eb9706b6/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py ---------------------------------------------------------------------- diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py index 023b180..48533ec 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py @@ -54,7 +54,7 @@ class CsDhcp(CsDataBag): self.cloud.commit() # We restart DNSMASQ every time the configure.py is called in order to avoid lease problems. - CsHelper.service("dnsmasq", "restart") + CsHelper.execute2("service dnsmasq restart") def configure_server(self): # self.conf.addeq("dhcp-hostsfile=%s" % DHCP_HOSTS)
