Remote multinode scripts cleanup (#666)

- Also added support for stop nodes
This commit is contained in:
pgarg66
2018-07-17 13:48:25 -07:00
committed by GitHub
parent 3d45b04da8
commit f0c39cc84d
3 changed files with 129 additions and 68 deletions

View File

@@ -2,8 +2,6 @@
[[ -n $FORCE ]] || exit
mkdir -p ~/.ssh ~/solana ~/.cargo/bin
sudo apt-get --assume-yes install rsync libssl-dev
chmod 600 ~/.ssh/authorized_keys ~/.ssh/id_rsa
PATH="$HOME"/.cargo/bin:"$PATH"
@@ -12,7 +10,6 @@ ssh-keygen -R "$1"
ssh-keyscan "$1" >>~/.ssh/known_hosts 2>/dev/null
rsync -vPrz "$1":~/.cargo/bin/solana* ~/.cargo/bin/
rsync -vPrz "$1":~/solana/fetch-perf-libs.sh ~/solana/
# Run setup
USE_INSTALL=1 ./multinode-demo/setup.sh -p