Update install.sh
This commit is contained in:
parent
25faff0e0c
commit
a0d72bed84
|
@ -14,10 +14,6 @@ lsb_release -a
|
||||||
echo "===== memory usage info:"
|
echo "===== memory usage info:"
|
||||||
free -m
|
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)"
|
EXT_IP="$(curl ifconfig.co)"
|
||||||
echo "===== external ip: ${EXT_IP}"
|
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"
|
INSTALL_CONFIG_REPO="https://raw.githubusercontent.com/oraclesorg/test-templates/${TEMPLATES_BRANCH}/TestTestNet/netstats-server"
|
||||||
echo "===== repo base path: ${INSTALL_CONFIG_REPO}"
|
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
|
# this should be provided through env by azure template
|
||||||
NETSTATS_SECRET="${NETSTATS_SECRET}"
|
NETSTATS_SECRET="${NETSTATS_SECRET}"
|
||||||
NODE_FULLNAME="${NODE_FULLNAME:-NetStat}"
|
NODE_FULLNAME="${NODE_FULLNAME:-NetStat}"
|
||||||
|
|
Loading…
Reference in New Issue