Replace sleep with wait loop
This commit is contained in:
parent
f770ae82e6
commit
9744972f4a
|
@ -21,7 +21,7 @@ assign_node_roles() {
|
||||||
create_network_conf
|
create_network_conf
|
||||||
assign_node_roles
|
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
|
mcp-microservices --config-file=/root/mcp.conf deploy -t /root/cluster-topology.yaml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue