|
...
|
...
|
@@ -293,7 +293,9 @@ function configure_tempest() {
|
|
293
|
293
|
iniset $TEMPEST_CONF boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
|
|
294
|
294
|
|
|
295
|
295
|
# Orchestration test image
|
|
296
|
|
- if [[ "$HEAT_CREATE_TEST_IMAGE" = "True" ]]; then
|
|
|
296
|
+ if [[ ! -z "$HEAT_FETCHED_TEST_IMAGE" ]]; then
|
|
|
297
|
+ iniset $TEMPEST_CONF orchestration image_ref "$HEAT_FETCHED_TEST_IMAGE"
|
|
|
298
|
+ elif [[ "$HEAT_CREATE_TEST_IMAGE" = "True" ]]; then
|
|
297
|
299
|
disk_image_create /usr/share/tripleo-image-elements "vm fedora heat-cfntools" "i386" "fedora-vm-heat-cfntools-tempest"
|
|
298
|
300
|
iniset $TEMPEST_CONF orchestration image_ref "fedora-vm-heat-cfntools-tempest"
|
|
299
|
301
|
fi
|