From 02752f5df22e234ce727c5adc84f66ff672df5de Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 14 Jul 2017 13:11:19 -0400 Subject: [PATCH] Reduce tools/image_list.sh down to 4 images Now that mysql.qcow2 has been removed, we only have 4 images to worry about. This fixes cache-devstack element for openstack-infra. Change-Id: Ia06f0e0679e253a1a6614f7c38abf1f5cd13991b Signed-off-by: Paul Belanger (Cherry-picked from 331b3de88e02d6cc480b386766f47b7a2d943125) --- tools/image_list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image_list.sh b/tools/image_list.sh index 27b3d4612d..29b93ed1d8 100755 --- a/tools/image_list.sh +++ b/tools/image_list.sh @@ -36,7 +36,7 @@ echo $ALL_IMAGES | tr ',' '\n' | sort | uniq # Sanity check - ensure we have a minimum number of images num=$(echo $ALL_IMAGES | tr ',' '\n' | sort | uniq | wc -l) -if [[ "$num" -lt 5 ]]; then +if [[ "$num" -lt 4 ]]; then echo "ERROR: We only found $num images in $ALL_IMAGES, which can't be right." exit 1 fi