Update install.sh

This commit is contained in:
phahulin 2017-11-17 12:49:42 +03:00 committed by GitHub
parent 25faff0e0c
commit a0d72bed84
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,10 +14,6 @@ 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}"
@ -26,6 +22,10 @@ NETSTATS_SERVER="localhost"
INSTALL_CONFIG_REPO="https://raw.githubusercontent.com/oraclesorg/test-templates/${TEMPLATES_BRANCH}/TestTestNet/netstats-server"
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_SECRET="${NETSTATS_SECRET}"
NODE_FULLNAME="${NODE_FULLNAME:-NetStat}"