mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-10 14:03:46 +00:00
Update entrypoint.sh
This commit is contained in:
parent
0a869b40b0
commit
e75c17b642
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ fi
|
||||||
# Obtain assigned container IP for p2p
|
# Obtain assigned container IP for p2p
|
||||||
NODE_IP=${NODE_IP:-$(hostname -i)}
|
NODE_IP=${NODE_IP:-$(hostname -i)}
|
||||||
|
|
||||||
if [ -n "$PUBLIC_NODE_IP" ]; then
|
if [ -n "${PUBLIC_NODE_IP:-}" ]; then
|
||||||
NAT_FLAG="--nat=extip:$PUBLIC_NODE_IP"
|
NAT_FLAG="--nat=extip:$PUBLIC_NODE_IP"
|
||||||
else
|
else
|
||||||
NAT_FLAG="--nat=none"
|
NAT_FLAG="--nat=none"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue