Merge "'libvirt' guest console in Standalone model"
[yardstick.git] / tests / ci / clean_images.sh
index 5cb0700..832ade2 100755 (executable)
@@ -15,7 +15,7 @@ cleanup()
     echo
     echo "========== Cleanup =========="
 
-    if [ $OS_CACERT ] && [ "$(echo $OS_CACERT | tr '[:upper:]' '[:lower:]')" = "false" ]; then
+    if [ $OS_INSECURE ] && [ "$(echo $OS_INSECURE | tr '[:upper:]' '[:lower:]')" = "true" ]; then
         SECURE="--insecure"
     else
         SECURE=""