This reverts commit 71e82f52bde99b4bf791ea1558f1abf86019a384.
aioppcu now uses x86_64 so no need to list the i386 images for caching.
Change-Id: If500367c8bf3fdb4590c866e007ecd7de1ab5781
Depends-On: I839e1c724821ba2624beddb5233eda24b50c149f
| ... | ... |
@@ -9,8 +9,6 @@ source $TOP_DIR/functions |
| 9 | 9 |
# dummy in the end position to trigger the fall through case. |
| 10 | 10 |
DRIVERS="openvz ironic libvirt vsphere xenserver dummy" |
| 11 | 11 |
|
| 12 |
-CIRROS_ARCHS="x86_64 i386" |
|
| 13 |
- |
|
| 14 | 12 |
# Extra variables to trigger getting additional images. |
| 15 | 13 |
export ENABLED_SERVICES="h-api,tr-api" |
| 16 | 14 |
HEAT_FETCHED_TEST_IMAGE="Fedora-i386-20-20131211.1-sda" |
| ... | ... |
@@ -19,15 +17,12 @@ PRECACHE_IMAGES=True |
| 19 | 19 |
# Loop over all the virt drivers and collect all the possible images |
| 20 | 20 |
ALL_IMAGES="" |
| 21 | 21 |
for driver in $DRIVERS; do |
| 22 |
- for arch in $CIRROS_ARCHS; do |
|
| 23 |
- CIRROS_ARCH=$arch |
|
| 24 |
- VIRT_DRIVER=$driver |
|
| 25 |
- URLS=$(source $TOP_DIR/stackrc && echo $IMAGE_URLS) |
|
| 26 |
- if [[ ! -z "$ALL_IMAGES" ]]; then |
|
| 27 |
- ALL_IMAGES+=, |
|
| 28 |
- fi |
|
| 29 |
- ALL_IMAGES+=$URLS |
|
| 30 |
- done |
|
| 22 |
+ VIRT_DRIVER=$driver |
|
| 23 |
+ URLS=$(source $TOP_DIR/stackrc && echo $IMAGE_URLS) |
|
| 24 |
+ if [[ ! -z "$ALL_IMAGES" ]]; then |
|
| 25 |
+ ALL_IMAGES+=, |
|
| 26 |
+ fi |
|
| 27 |
+ ALL_IMAGES+=$URLS |
|
| 31 | 28 |
done |
| 32 | 29 |
|
| 33 | 30 |
# Make a nice list |