diff --git a/ci-automation/vendor-testing/openstack.sh b/ci-automation/vendor-testing/openstack.sh index 4efa6d4907..b3ff101679 100755 --- a/ci-automation/vendor-testing/openstack.sh +++ b/ci-automation/vendor-testing/openstack.sh @@ -29,6 +29,9 @@ secret_to_file config_file "${OPENSTACK_CREDS}" openstack_keyfile='' secret_to_file openstack_keyfile "${OPENSTACK_KEYFILE}" +# Make sure that everything is cleaned up before starting. +ore --config-file "${config_file}" openstack gc --duration 1s + # Upload the image on OpenStack dev instance. IMAGE_ID=$(ore openstack create-image \ --name=flatcar-"${CIA_VERNUM}" \