From f593160280fddee35c5d60a463e53752ce05d2da Mon Sep 17 00:00:00 2001
From: phahulin
Date: Fri, 17 Nov 2017 12:50:46 +0300
Subject: [PATCH] Update install.sh
---
TestTestNet/bootnode/install.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/TestTestNet/bootnode/install.sh b/TestTestNet/bootnode/install.sh
index 46c0c48..f8d54c4 100644
--- a/TestTestNet/bootnode/install.sh
+++ b/TestTestNet/bootnode/install.sh
@@ -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 @@ NGINX_FILE_LOC="https://raw.githubusercontent.com/oraclesorg/test-templates/${TE
INSTALL_CONFIG_REPO="https://raw.githubusercontent.com/oraclesorg/test-templates/${TEMPLATES_BRANCH}/TestTestNet/bootnode"
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}"