Replace sleep with wait loop

This commit is contained in:
Aleksandr Didenko 2016-06-29 14:21:34 +02:00
parent f770ae82e6
commit 9744972f4a

View file

@ -21,7 +21,7 @@ assign_node_roles() {
create_network_conf
assign_node_roles
kubectl delete namespace openstack && sleep 120
kubectl delete namespace openstack && while kubectl get namespace | grep -q ^openstack ; do sleep 5; done
mcp-microservices --config-file=/root/mcp.conf deploy -t /root/cluster-topology.yaml