Replace grep -P with grep -E to avoid illegal instruction on non-AVX CPUs in Talk container

This commit is contained in:
alisaklak 2025-10-29 17:46:02 +03:00
parent dbaef1f154
commit c6fa96f75c

View file

@ -19,7 +19,7 @@ elif [ -z "$INTERNAL_SECRET" ]; then
fi
set -x
IPv4_ADDRESS_TALK_RELAY="$(hostname -i | grep -oP '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -1)"
IPv4_ADDRESS_TALK_RELAY="$(hostname -i | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -1)"
# shellcheck disable=SC2153
IPv4_ADDRESS_TALK="$(dig "$TALK_HOST" IN A +short +search | grep '^[0-9.]\+$' | sort | head -n1)"
# shellcheck disable=SC2153