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

This commit is contained in:
Dan Albert
2020-03-14 16:49:28 -07:00
committed by GitHub
parent 29fb79382c
commit ae70f4ea92
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 &