From 9278f82e12ce9c27c08ec725d73c63422dbeeb1b Mon Sep 17 00:00:00 2001 From: MiguelNdeCarvalho Date: Thu, 1 Oct 2020 19:43:42 +0100 Subject: [PATCH] cont-init.d: Get the ip automatically silent --- root/etc/cont-init.d/30-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index 4da95f8..b69ff5b 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -211,7 +211,7 @@ if [ -n "$PEERS" ]; then PEERS="1" fi if [ -z "$SERVERURL" ] || [ "$SERVERURL" = "auto" ]; then - SERVERURL=$(curl icanhazip.com) + SERVERURL=$(curl -s icanhazip.com) echo "**** SERVERURL var is either not set or is set to \"auto\", setting external IP to auto detected value of $SERVERURL ****" else echo "**** External server address is set to $SERVERURL ****"