Support for configuring testnet nodes across multiple cloud services

This commit is contained in:
Pankaj Garg
2019-04-01 22:54:41 +00:00
parent 25a2f08f8d
commit 97bd7a00f1
3 changed files with 76 additions and 44 deletions

View File

@ -24,6 +24,7 @@ entrypointIp=
publicNetwork=
netBasename=
sshPrivateKey=
externalNodeSshKey=
sshOptions=()
fullnodeIpList=()
fullnodeIpListPrivate=()
@ -41,8 +42,9 @@ buildSshOptions() {
-o "User=solana"
-o "IdentityFile=$sshPrivateKey"
-o "LogLevel=ERROR"
-F /dev/null
)
[[ -z $externalNodeSshKey ]] || sshOptions+=(-o "IdentityFile=$externalNodeSshKey")
}
loadConfigFile() {