Files
tendermint/terraforce/scripts/restart.sh
T

10 lines
186 B
Bash

#! /bin/bash
set -u
N=$1 # number of nodes
N_=$((N-1))
# start
terraforce ssh --user root --ssh-key $HOME/.ssh/id_rsa --machines "[0-$N_]" SEEDS=$(terraform output seeds) bash run.sh