Update install.sh

This commit is contained in:
phahulin 2017-11-17 12:50:08 +03:00 committed by GitHub
parent a0d72bed84
commit 92df1668dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -14,16 +14,16 @@ lsb_release -a
echo "===== memory usage info:"
free -m
echo "===== downloading common.vars"
curl -sLO "https://raw.githubusercontent.com/oraclesorg/test-templates/${TEMPLATES_BRANCH}/TestTestNet/common.vars"
source common.vars
EXT_IP="$(curl ifconfig.co)"
echo "===== external ip: ${EXT_IP}"
INSTALL_CONFIG_REPO="https://raw.githubusercontent.com/oraclesorg/test-templates/${TEMPLATES_BRANCH}/TestTestNet/mining-node"
echo "===== repo base path: ${INSTALL_CONFIG_REPO}"
echo "===== downloading common.vars"
curl -sLO "https://raw.githubusercontent.com/oraclesorg/test-templates/${TEMPLATES_BRANCH}/TestTestNet/common.vars"
source common.vars
# this should be provided through env by azure template
NETSTATS_SERVER="${NETSTATS_SERVER}"
NETSTATS_SECRET="${NETSTATS_SECRET}"