From a1ab68cd2b27a70eda965ce6ae7d3b3e56a8afce Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Fri, 13 May 2016 09:49:20 -0400 Subject: [PATCH] Make sure Ansible tests only use cirros images It's possible enabling OpenStack things can cause other images other than cirros to be made available (looking at you Magnum). We should make sure our Ansible tests only look for Cirros. Change-Id: Iefc01f8033629937552861366b9ddaac8058b249 --- extras/run-ansible-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/run-ansible-tests.sh b/extras/run-ansible-tests.sh index a794c454b..37573b29d 100755 --- a/extras/run-ansible-tests.sh +++ b/extras/run-ansible-tests.sh @@ -84,7 +84,7 @@ fi # Until we have a module that lets us determine the image we want from # within a playbook, we have to find the image here and pass it in. # We use the openstack client instead of nova client since it can use clouds.yaml. -IMAGE=`openstack --os-cloud=${CLOUD} image list -f value -c Name | grep -v -e ramdisk -e kernel` +IMAGE=`openstack --os-cloud=${CLOUD} image list -f value -c Name | grep cirros | grep -v -e ramdisk -e kernel` if [ $? -ne 0 ] then echo "Failed to find Cirros image"