Bugfix: load_image will move image file if image already exist in /home/opnfv/images
[yardstick.git] / tests / ci / load_images.sh
index 2e22b83..b1f925e 100755 (executable)
@@ -145,12 +145,6 @@ load_yardstick_image()
         exit 1
     fi
 
-    if [[ "$DEPLOY_SCENARIO" == *"-lxd-"* ]]; then
-        sudo rm -f -- "${RAW_IMAGE}"
-    else
-        sudo rm -f -- "${QCOW_IMAGE}"
-    fi
-
     echo "Glance image id: $GLANCE_IMAGE_ID"
 }