From 6f2e4088c17ea2e944e0f6a21845928a294e99a5 Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Tue, 5 Nov 2024 16:54:37 +0300 Subject: [PATCH] additional cli argument, if proxy needed Signed-off-by: Uncle Stinky --- scripts/starter.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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")