Apply s/faucet-keypair/faucet renaming to net scripts (#8868)

automerge
This commit is contained in:
Dan Albert
2020-03-14 18:14:49 -07:00
committed by GitHub
parent 231c9b25d1
commit bfc97c682c
4 changed files with 7 additions and 7 deletions

View File

@@ -310,13 +310,13 @@ EOF
set -x
# Add the faucet keypair to validators for convenient access from tools
# like bench-tps and add to blocktreamers to run a faucet
scp "$entrypointIp":~/solana/config/faucet-keypair.json config/
scp "$entrypointIp":~/solana/config/faucet.json config/
if [[ $nodeType = blockstreamer ]]; then
# Run another faucet with the same keypair on the blockstreamer node.
# Typically the blockstreamer node has a static IP/DNS name for hosting
# the blockexplorer web app, and is a location that somebody would expect
# to be able to airdrop from
scp "$entrypointIp":~/solana/config/faucet-keypair.json config/
scp "$entrypointIp":~/solana/config/faucet.json config/
if [[ $airdropsEnabled = true ]]; then
cat >> ~/solana/on-reboot <<EOF
multinode-demo/faucet.sh > faucet.log 2>&1 &