Skip to content

Commit 9278f82

Browse files
cont-init.d: Get the ip automatically silent
1 parent 2d3af20 commit 9278f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/30-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ if [ -n "$PEERS" ]; then
211211
PEERS="1"
212212
fi
213213
if [ -z "$SERVERURL" ] || [ "$SERVERURL" = "auto" ]; then
214-
SERVERURL=$(curl icanhazip.com)
214+
SERVERURL=$(curl -s icanhazip.com)
215215
echo "**** SERVERURL var is either not set or is set to \"auto\", setting external IP to auto detected value of $SERVERURL ****"
216216
else
217217
echo "**** External server address is set to $SERVERURL ****"

0 commit comments

Comments
 (0)