forked from ghostchain/ghost-node
additional cli argument, if proxy needed
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
parent
d12ecf15ec
commit
6f2e4088c1
@ -306,11 +306,16 @@ if [[ $ARGUMENTS = true ]]; then
|
|||||||
CLI_ARGS+=("--no-prometheus")
|
CLI_ARGS+=("--no-prometheus")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -p "[?] list of bootnodes if any: " bootnodes
|
read -p "[?] bootnode if any: " bootnodes
|
||||||
if [ ! -z $bootnodes ]; then
|
if [ ! -z $bootnodes ]; then
|
||||||
CLI_ARGS+=("--bootnodes=$bootnodes")
|
CLI_ARGS+=("--bootnodes=$bootnodes")
|
||||||
fi
|
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
|
# default for now
|
||||||
CLI_ARGS+=("--base-path=$BASE_PATH")
|
CLI_ARGS+=("--base-path=$BASE_PATH")
|
||||||
CLI_ARGS+=("--state-pruning=archive")
|
CLI_ARGS+=("--state-pruning=archive")
|
||||||
|
Loading…
Reference in New Issue
Block a user