Browse code

Merge "Fixes Heat tempest issue due to hardcoded qcow2 extension"

Jenkins authored on 2014/12/25 03:20:56
Showing 1 changed files
... ...
@@ -372,7 +372,7 @@ function configure_tempest {
372 372
     # Orchestration Tests
373 373
     if is_service_enabled heat; then
374 374
         if [[ ! -z "$HEAT_CFN_IMAGE_URL" ]]; then
375
-            iniset $TEMPEST_CONFIG orchestration image_ref $(basename "$HEAT_CFN_IMAGE_URL" ".qcow2")
375
+            iniset $TEMPEST_CONFIG orchestration image_ref $(basename "${HEAT_CFN_IMAGE_URL%.*}")
376 376
         fi
377 377
         # build a specialized heat flavor
378 378
         available_flavors=$(nova flavor-list)