docker tests: force local machine creation (#2636)

This is required from 1.5.6 to overwrite the local credentials file
This commit is contained in:
mmetc 2023-12-05 11:52:04 +01:00 committed by GitHub
parent 0f3ae64062
commit 8bb7da3994
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,7 @@ if isfalse "$DISABLE_LOCAL_API"; then
# if the db is persistent but the credentials are not, we need to
# delete the old machine to generate new credentials
cscli machines delete "$CUSTOM_HOSTNAME" >/dev/null 2>&1 || true
cscli machines add "$CUSTOM_HOSTNAME" --auto
cscli machines add "$CUSTOM_HOSTNAME" --auto --force
fi
fi