Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-06-10 10:38:59 +02:00
parent 5b49ec6da2
commit 335026ce76
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@ while ! nc -z "$NEXTCLOUD_HOST" 9000; do
done
# Get ipv4-address of Apache
# shellcheck disable=SC2153
IPv4_ADDRESS="$(dig "$APACHE_HOST" A +short +search | head -1)"
# Bring it in CIDR notation
# shellcheck disable=SC2001