match generic cirros name

devstack/tempest removed cirros ami image for qcow image[1][2]. this changes
suffix of file. this patch generically looks for first cirros match and
disregards suffix

[1] https://review.openstack.org/#/c/338435/
[2] https://review.openstack.org/#/c/338377/

Change-Id: Iefcfe839916e0501cd82daa6f538b440a8d8ee96
(cherry picked from commit a622ab3013)
This commit is contained in:
gord chung 2017-02-15 22:55:18 +00:00
parent 9400d9e666
commit 6d1deb5c50
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export AODH_SERVICE_URL=$(openstack catalog show alarming -c endpoints -f value
export GNOCCHI_SERVICE_URL=$(openstack catalog show metric -c endpoints -f value | awk '/public/{print $2}')
export HEAT_SERVICE_URL=$(openstack catalog show orchestration -c endpoints -f value | awk '/public/{print $2}')
export NOVA_SERVICE_URL=$(openstack catalog show compute -c endpoints -f value | awk '/public/{print $2}')
export GLANCE_IMAGE_NAME=$(openstack image list | awk '/ cirros.*uec /{print $4}')
export GLANCE_IMAGE_NAME=$(openstack image list | awk '/ cirros.* /{print $4; exit}')
export ADMIN_TOKEN=$(openstack token issue -c id -f value)
# Run tests