If the Quantum dhcp-agent is enabled then we ensure that the dnsmasq process is termated when running unstack.sh Change-Id: I0aee8b806c61dff42400a3b8552b7c748e9c5adf
@@ -63,3 +63,8 @@ if [[ -n "$UNSTACK_ALL" ]]; then
stop_service mysql
fi
+
+# Quantum dhcp agent runs dnsmasq
+if is_service_enabled q-dhcp; then
+ sudo kill -9 $(ps aux | awk '/[d]nsmasq.+interface=tap/ { print $2 }')
+fi