Switch the way we check for completion
This commit is contained in:
parent
c7f72ad890
commit
dadb07f5be
1 changed files with 1 additions and 2 deletions
|
@ -182,7 +182,6 @@ ROOTSLEEP=0
|
||||||
`cat $TOP_DIR/localrc`
|
`cat $TOP_DIR/localrc`
|
||||||
LOCAL_EOF
|
LOCAL_EOF
|
||||||
./stack.sh
|
./stack.sh
|
||||||
echo "All done"
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# (re)start a metadata service
|
# (re)start a metadata service
|
||||||
|
@ -228,7 +227,7 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then
|
||||||
trap kill_tail SIGINT
|
trap kill_tail SIGINT
|
||||||
|
|
||||||
echo "Waiting stack.sh to finish..."
|
echo "Waiting stack.sh to finish..."
|
||||||
while ! cat $vm_dir/console.log | grep -q 'All done' ; do
|
while ! cat $vm_dir/console.log | grep -q '^stack.sh (completed|failed)' ; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue