Fix testnet deployment
This commit is contained in:
@ -6,13 +6,14 @@ set -ex
|
||||
|
||||
[[ -d /home/solana/.ssh ]] || exit 1
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# shellcheck source=net/scripts/solana-user-authorized_keys.sh
|
||||
source solana-user-authorized_keys.sh
|
||||
|
||||
if [[ -z $SOLANA_PUBKEYS ]]; then
|
||||
echo "Warning: source solana-user-authorized_keys.sh first"
|
||||
fi
|
||||
|
||||
# solana-user-authorized_keys.sh defines the public keys for users that should
|
||||
# automatically be granted access to ALL testnets.
|
||||
# automatically be granted access to ALL testnets
|
||||
for key in "${SOLANA_PUBKEYS[@]}"; do
|
||||
echo "$key" >> /solana-authorized_keys
|
||||
done
|
||||
|
Reference in New Issue
Block a user