Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-18 01:00:43 +03:00
parent 14bf16d8c1
commit 1c2d2ee0e1

View File

@ -99,13 +99,13 @@ echo "# Updating config..."
# XXX the gate stuff might not be needed... # XXX the gate stuff might not be needed...
# XXX is the IP actually needed??? # XXX is the IP actually needed???
IP=$([ -z $DRY_RUN ] && lxc-attach $ID -- hostname -I) IP=$([ -z $DRY_RUN ] && lxc-attach $ID -- hostname -I)
TRUSTED_DOMAINS = ( TRUSTED_DOMAINS=(
"${IP/ *}" "${IP/ *}"
"$CTHOSTNAME" "$CTHOSTNAME"
"${CTHOSTNAME}.srv" "${CTHOSTNAME}.srv"
"${GATE_LAN_IPn}" "${GATE_LAN_IPn}"
"$(GATE_HOSTNAME)" "${GATE_HOSTNAME}"
"$(GATE_HOSTNAME).srv" "${GATE_HOSTNAME}.srv"
"${WAN_IPn}" "${WAN_IPn}"
) )
ADDRS= ADDRS=