Merge "labs: wait for neutron to start"
This commit is contained in:
commit
da220b6ec2
@ -12,6 +12,11 @@ indicate_current_auto
|
||||
# Create the external network and a subnet on it.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
echo "Waiting for neutron to start."
|
||||
until neutron net-list >/dev/null 2>&1; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "Creating the external network."
|
||||
neutron net-create ext-net --shared --router:external=True
|
||||
|
||||
|
@ -12,6 +12,11 @@ indicate_current_auto
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
echo "Waiting for neutron to start."
|
||||
until neutron net-list >/dev/null 2>&1; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "Creating the tenant network."
|
||||
neutron net-create demo-net
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user