You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
196 B

  1. #! /bin/bash
  2. set -u
  3. N=$1 # number of nodes
  4. RUN=$2 # path to run script
  5. N_=$((N-1))
  6. # stop all tendermint
  7. terraforce scp --user root --ssh-key $HOME/.ssh/id_rsa --machines "[0-$N_]" $RUN run.sh