diff --git a/docker/shared_testnet/entry_point.sh b/docker/shared_testnet/entry_point.sh index e11bf9dc6..594aafe68 100755 --- a/docker/shared_testnet/entry_point.sh +++ b/docker/shared_testnet/entry_point.sh @@ -14,9 +14,10 @@ if [ ${PIPESTATUS[0]} != 4 ]; then fi OPTS="h" -LONGOPTS="help,build,run" +LONGOPTS="help,network:,build,run" # default values +NETWORK="altona" BUILD=0 RUN=0 @@ -25,6 +26,7 @@ print_help() { Usage: $(basename $0) -- -h, --help this help message + --network default: ${NETWORK} --build build the beacon_node --run run the beacon_node EOF @@ -44,6 +46,10 @@ while true; do print_help exit ;; + --network) + NETWORK="$2" + shift 2 + ;; --build) BUILD=1 shift