This reverts commit aecfdf55627e7e651228b240eaec179d10b81241.
This change is breaking grenade on master (newton).
Change-Id: Iba8fb7494bad3f215deef1b2b978747254b3f6f6
Closes-Bug: #1615241
| ... | ... |
@@ -430,9 +430,12 @@ function configure_tempest {
|
| 430 | 430 |
fi |
| 431 | 431 |
|
| 432 | 432 |
# Scenario |
| 433 |
- SCENARIO_IMAGE_DIR=${SCENARIO_IMAGE_DIR:-$FILES}
|
|
| 433 |
+ SCENARIO_IMAGE_DIR=${SCENARIO_IMAGE_DIR:-$FILES/images/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec}
|
|
| 434 | 434 |
iniset $TEMPEST_CONFIG scenario img_dir $SCENARIO_IMAGE_DIR |
| 435 |
- iniset $TEMPEST_CONFIG scenario img_file $DEFAULT_IMAGE_NAME |
|
| 435 |
+ iniset $TEMPEST_CONFIG scenario ami_img_file "cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-blank.img"
|
|
| 436 |
+ iniset $TEMPEST_CONFIG scenario ari_img_file "cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-initrd"
|
|
| 437 |
+ iniset $TEMPEST_CONFIG scenario aki_img_file "cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-vmlinuz"
|
|
| 438 |
+ iniset $TEMPEST_CONFIG scenario img_file "cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img"
|
|
| 436 | 439 |
|
| 437 | 440 |
# Large Ops Number |
| 438 | 441 |
iniset $TEMPEST_CONFIG scenario large_ops_number ${TEMPEST_LARGE_OPS_NUMBER:-0}
|
| ... | ... |
@@ -614,9 +614,9 @@ if [[ "$DOWNLOAD_DEFAULT_IMAGES" == "True" ]]; then |
| 614 | 614 |
lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc |
| 615 | 615 |
DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-rootfs}
|
| 616 | 616 |
IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-rootfs.img.gz";;
|
| 617 |
- *) # otherwise, use the qcow image |
|
| 618 |
- DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img}
|
|
| 619 |
- IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img";;
|
|
| 617 |
+ *) # otherwise, use the uec style image (with kernel, ramdisk, disk) |
|
| 618 |
+ DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec}
|
|
| 619 |
+ IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec.tar.gz";;
|
|
| 620 | 620 |
esac |
| 621 | 621 |
;; |
| 622 | 622 |
vsphere) |
| ... | ... |
@@ -635,9 +635,9 @@ if [[ "$DOWNLOAD_DEFAULT_IMAGES" == "True" ]]; then |
| 635 | 635 |
fi |
| 636 | 636 |
IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-x86_64-uec.tar.gz"
|
| 637 | 637 |
IMAGE_URLS+=",http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-x86_64-disk.img";;
|
| 638 |
- *) # Default to Cirros qcow2 image file |
|
| 639 |
- DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img}
|
|
| 640 |
- IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-disk.img";;
|
|
| 638 |
+ *) # Default to Cirros with kernel, ramdisk and disk image |
|
| 639 |
+ DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec}
|
|
| 640 |
+ IMAGE_URLS+="http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec.tar.gz";;
|
|
| 641 | 641 |
esac |
| 642 | 642 |
DOWNLOAD_DEFAULT_IMAGES=False |
| 643 | 643 |
fi |