From afba46ce6b80abc6694750e365320aaca4de2127 Mon Sep 17 00:00:00 2001 From: zhaoxinyu Date: Fri, 21 Nov 2014 08:28:19 -0800 Subject: [PATCH] kill dnsmasq to avoid conflict with dhcpd libvirt start dnsmasq to provide dhcp service on virbr0, but unfortunately it by default binds on all interfaces. to avoid conflict with dhcpd started by cobbler later, kill all dnsmasq since it won't be used by ci anyway. Change-Id: I006f6c3e3493a34c4770cff0b35ee8f4b2b5293c --- misc/ci/test-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/ci/test-install.sh b/misc/ci/test-install.sh index 3c294e45..f0664017 100755 --- a/misc/ci/test-install.sh +++ b/misc/ci/test-install.sh @@ -12,6 +12,8 @@ else dhclient -r installation dhclient installation fi +# kill the dhcp service started by libvirt to avoid conflict with dhcpd +killall dnsmasq source compass-core/install/install.conf.template /bin/bash -x compass-core/install/install.sh || exit $? echo "cache_peer 10.145.81.137 parent 3128 3130 default" >> /etc/squid/squid.conf