blob: 4f486af2040bbe7f884af95a2f07c8baced5376e [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001#! /bin/bash
2echo "Waiting for XOS to come up"
3until http 0.0.0.0:80 &> /dev/null
4do
5 sleep 1
6 RUNNING_CONTAINER=`sudo docker ps|grep "xos"|awk '{print $$NF}'`
7 if [[ $RUNNING_CONTAINER == "" ]]; then
8 echo Container may have failed. check with \"make showlogs\'
9 exit 1
10 fi
11done
12echo "XOS is ready"