Browse code

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 <pabelanger@redhat.com>

Paul Belanger authored on 2017/07/15 02:11:19
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ echo $ALL_IMAGES | tr ',' '\n' | sort | uniq
36 36
 
37 37
 # Sanity check - ensure we have a minimum number of images
38 38
 num=$(echo $ALL_IMAGES | tr ',' '\n' | sort | uniq | wc -l)
39
-if [[ "$num" -lt 5 ]]; then
39
+if [[ "$num" -lt 4 ]]; then
40 40
     echo "ERROR: We only found $num images in $ALL_IMAGES, which can't be right."
41 41
     exit 1
42 42
 fi