mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-18 21:26:20 +00:00
add terraforce deployment method
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#! /bin/bash
|
||||
set -u
|
||||
|
||||
N=$1 # number of nodes
|
||||
QUERY=$2
|
||||
|
||||
N_=$((N-1))
|
||||
|
||||
# start all tendermint nodes
|
||||
terraforce ssh --user root --ssh-key $HOME/.ssh/id_rsa --machines "[0-$N_]" curl -s localhost:46657/$QUERY
|
||||
|
||||
Reference in New Issue
Block a user