mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-23 07:56:57 +00:00
fix dig inside kubernetes
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
713d155265
commit
ce84eb7bfe
5 changed files with 12 additions and 12 deletions
|
|
@ -19,8 +19,8 @@ elif [ -z "$INTERNAL_SECRET" ]; then
|
|||
fi
|
||||
|
||||
set -x
|
||||
IPv4_ADDRESS_TALK="$(dig nextcloud-aio-talk IN A +short | grep '^[0-9.]\+$' | sort | head -n1)"
|
||||
IPv6_ADDRESS_TALK="$(dig nextcloud-aio-talk AAAA +short | grep '^[0-9a-f:]\+$' | sort | head -n1)"
|
||||
IPv4_ADDRESS_TALK="$(dig nextcloud-aio-talk IN A +short +search | grep '^[0-9.]\+$' | sort | head -n1)"
|
||||
IPv6_ADDRESS_TALK="$(dig nextcloud-aio-talk AAAA +short +search | grep '^[0-9a-f:]\+$' | sort | head -n1)"
|
||||
set +x
|
||||
|
||||
# Turn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue