diff --git a/scripts/starter.sh b/scripts/starter.sh index e14a726..9b21215 100755 --- a/scripts/starter.sh +++ b/scripts/starter.sh @@ -306,11 +306,16 @@ if [[ $ARGUMENTS = true ]]; then CLI_ARGS+=("--no-prometheus") fi - read -p "[?] list of bootnodes if any: " bootnodes + read -p "[?] bootnode if any: " bootnodes if [ ! -z $bootnodes ]; then CLI_ARGS+=("--bootnodes=$bootnodes") fi + read -r "[?] address that other nodes will use to connect: (default: current ip)" public_addr + if [ ! -z $public_addr ]; then + CLI_ARGS+=("--public-addr=$public_addr") + fi + # default for now CLI_ARGS+=("--base-path=$BASE_PATH") CLI_ARGS+=("--state-pruning=archive")