diff --git a/multinode-demo/bootstrap-leader.sh b/multinode-demo/bootstrap-leader.sh index f7135d3e0..fd5bd4b16 100755 --- a/multinode-demo/bootstrap-leader.sh +++ b/multinode-demo/bootstrap-leader.sh @@ -29,6 +29,7 @@ else program="$solana_fullnode" fi +maybe_entry_stream= maybe_init_complete_file= maybe_no_leader_rotation= @@ -36,6 +37,9 @@ while [[ -n $1 ]]; do if [[ $1 = --init-complete-file ]]; then maybe_init_complete_file="--init-complete-file $2" shift 2 + elif [[ $1 = --entry-stream ]]; then + maybe_entry_stream="$1 $2" + shift 2 elif [[ $1 = --no-leader-rotation ]]; then maybe_no_leader_rotation="--no-leader-rotation" shift @@ -57,8 +61,9 @@ tune_system trap 'kill "$pid" && wait "$pid"' INT TERM $solana_ledger_tool --ledger "$SOLANA_CONFIG_DIR"/bootstrap-leader-ledger verify -# shellcheck disable=SC2086 # Don't want to double quote maybe_init_complete_file +# shellcheck disable=SC2086 # Don't want to double quote maybe_entry_stream or maybe_init_complete_file $program \ + $maybe_entry_stream \ $maybe_init_complete_file \ $maybe_no_leader_rotation \ --identity "$SOLANA_CONFIG_DIR"/bootstrap-leader.json \