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 5d5ae1c962
commit d62d1174d0
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() {