We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8494b91 commit 2088a68Copy full SHA for 2088a68
docker-entrypoint.sh
@@ -8,7 +8,8 @@ if [ -n "$TZ" ]; then
8
fi
9
10
# Format the UNICAST_PEERS for proper indentation
11
-export UNICAST_PEERS=$(echo "$UNICAST_PEERS" | tr ',' '\n' | sed 's/^[[:space:]]*//g' | sed 's/[[:space:]]*$//g' | sed 's/^/ /')
+UNICAST_PEERS="$(echo "$UNICAST_PEERS" | tr ',' '\n' | sed 's/^[[:space:]]*//g' | sed 's/[[:space:]]*$//g' | sed 's/^/ /')"
12
+export UNICAST_PEERS
13
14
# Generate keepalived configuration from template
15
envsubst < /conf/keepalived.conf_tpl > /etc/keepalived/keepalived.conf
0 commit comments