From efd40052cb1ca84cb60eebe56199a1828db62606 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Fri, 14 Oct 2022 17:25:00 -0500 Subject: [PATCH] Restore ENR_IP. --- .../cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh b/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh index 3bd67723..026d40e1 100755 --- a/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh +++ b/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh @@ -19,6 +19,7 @@ http_port=8001 authrpc_port=8551 ENR=`cat $DATADIR/bootnode/enr.dat` +ENR_IP=`ip addr | grep 172 | awk '{print $2}' | cut -d '/' -f1` exec lighthouse \ --debug-level $DEBUG_LEVEL \ @@ -29,7 +30,7 @@ exec lighthouse \ --testnet-dir $TESTNET_DIR \ --enable-private-discovery \ --staking \ - --enr-address $BOOTNODE_IP \ + --enr-address $ENR_IP \ --enr-udp-port $network_port \ --enr-tcp-port $network_port \ --port $network_port \