mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-28 20:21:47 +00:00
add terraforce deployment method
This commit is contained in:
10
terraforce/scripts/copy_run.sh
Normal file
10
terraforce/scripts/copy_run.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
set -u
|
||||
|
||||
N=$1 # number of nodes
|
||||
RUN=$2 # path to run script
|
||||
|
||||
N_=$((N-1))
|
||||
|
||||
# stop all tendermint
|
||||
terraforce scp --user root --ssh-key $HOME/.ssh/id_rsa --machines "[0-$N_]" $RUN run.sh
|
Reference in New Issue
Block a user