Use --net=host when running podman, workaround RHEL-32374

This commit is contained in:
Alexander Todorov 2024-07-22 14:20:11 +03:00 committed by Alexander Todorov
parent dedc6c970d
commit 0f2558d72e
4 changed files with 6 additions and 0 deletions

View file

@ -86,6 +86,7 @@ if ! hash gcloud; then
mkdir "${GCP_CMD_CREDS_DIR}"
GCP_CMD="sudo ${CONTAINER_RUNTIME} run --rm \
--net=host \
-v ${GCP_CMD_CREDS_DIR}:/root/.config/gcloud:Z \
-v ${GOOGLE_APPLICATION_CREDENTIALS}:${GOOGLE_APPLICATION_CREDENTIALS}:Z \
-v ${TEMPDIR}:${TEMPDIR}:Z \