Fix check in test for exising cirros image

Change-Id: I9528d9dc6a06606a8fe039dbe6ddcc8aede73310
This commit is contained in:
Corey Bryant 2017-10-18 17:10:54 +00:00
parent ffc6a6c662
commit 4699beaf77

View File

@ -37,7 +37,7 @@ sudo systemctl restart snap.glance.*
while ! nc -z localhost 9292; do sleep 0.1; done; while ! nc -z localhost 9292; do sleep 0.1; done;
openstack image show xenial || { openstack image show cirros || {
[ -f $HOME/images/cirros-0.3.5-x86_64-disk.img ] || { [ -f $HOME/images/cirros-0.3.5-x86_64-disk.img ] || {
export http_proxy=$SNAPSTACK_HTTP_PROXY export http_proxy=$SNAPSTACK_HTTP_PROXY
mkdir -p $HOME/images mkdir -p $HOME/images