You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't setup my openziti controller with the bootstrap.bash script because of the following condition:
promptCtrlAddress() {
if [[ -z"${ZITI_CTRL_ADVERTISED_ADDRESS:-}"||"${ZITI_CTRL_ADVERTISED_ADDRESS}"=~ ^[:0-9] ]];thenif! ZITI_CTRL_ADVERTISED_ADDRESS="$(prompt "Enter DNS name of the controller [required]: ")";thenecho"ERROR: missing required DNS name ZITI_CTRL_ADVERTISED_ADDRESS in ${BOOT_ENV_FILE}">&2return 1
# if an IP addresselif [[ "${ZITI_CTRL_ADVERTISED_ADDRESS}"=~ ^[:0-9] ]];thenecho"ERROR: ZITI_CTRL_ADVERTISED_ADDRESS must be a DNS name">&2return 1
else
setAnswer "ZITI_CTRL_ADVERTISED_ADDRESS=${ZITI_CTRL_ADVERTISED_ADDRESS}""${BOOT_ENV_FILE}"fifi
}
The condition for the provided dns name, only check if there are digits in dns name and not if the argument is a valid ip address.
Please use this regex instead so dns containing digits (i.e. 8a1db54a85q97d.example.com) can pass the check: ^[0-9]{1,3}(\.[0-9]{1,3}){3}$
The text was updated successfully, but these errors were encountered:
Hi,
I can't setup my openziti controller with the bootstrap.bash script because of the following condition:
The condition for the provided dns name, only check if there are digits in dns name and not if the argument is a valid ip address.
Please use this regex instead so dns containing digits (i.e.
8a1db54a85q97d.example.com
) can pass the check:^[0-9]{1,3}(\.[0-9]{1,3}){3}$
The text was updated successfully, but these errors were encountered: