Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions tasks/scripts/gateway-podman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,12 @@ EOF

if [[ -z "${OPENSHELL_BIND_ADDRESS:-}" && "$(uname -s)" == "Darwin" ]]; then
# Podman Machine reserves IPv4 loopback for its callback-only listener.
# Keep the primary listener distinct while using a hostname that resolves
# to IPv6 loopback for local CLI connections. An explicit bind address
# overrides this platform default.
# Keep the primary listener distinct and register its literal IPv6 address:
# `localhost` can resolve to IPv4 first, which would route CLI requests to
# the callback-only listener. An explicit bind address overrides this
# platform default.
PRIMARY_BIND_IP="::1"
CLI_ENDPOINT_HOST="localhost"
CLI_ENDPOINT_HOST="[::1]"
fi

if [[ ! "${GATEWAY_NAME}" =~ ^[A-Za-z0-9._-]+$ ]]; then
Expand Down
Loading