mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix SC
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
5b49ec6da2
commit
335026ce76
2 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ while ! nc -z "$NEXTCLOUD_HOST" 9000; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Get ipv4-address of Apache
|
# Get ipv4-address of Apache
|
||||||
|
# shellcheck disable=SC2153
|
||||||
IPv4_ADDRESS="$(dig "$APACHE_HOST" A +short +search | head -1)"
|
IPv4_ADDRESS="$(dig "$APACHE_HOST" A +short +search | head -1)"
|
||||||
# Bring it in CIDR notation
|
# Bring it in CIDR notation
|
||||||
# shellcheck disable=SC2001
|
# shellcheck disable=SC2001
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,9 @@ fi
|
||||||
|
|
||||||
set -x
|
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 -oP '[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)"
|
IPv4_ADDRESS_TALK="$(dig "$TALK_HOST" IN A +short +search | grep '^[0-9.]\+$' | sort | head -n1)"
|
||||||
|
# shellcheck disable=SC2153
|
||||||
IPv6_ADDRESS_TALK="$(dig "$TALK_HOST" AAAA +short +search | grep '^[0-9a-f:]\+$' | sort | head -n1)"
|
IPv6_ADDRESS_TALK="$(dig "$TALK_HOST" AAAA +short +search | grep '^[0-9a-f:]\+$' | sort | head -n1)"
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue