summaryrefslogtreecommitdiff
path: root/netcon/docker-test/nodejs
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2015-12-18 15:19:34 -0800
committerJoseph Henry <josephjah@gmail.com>2015-12-18 15:19:34 -0800
commit608e059b180f2dd2b6d7dc0f8ef1bc5324039343 (patch)
tree0a58b623a45e2fbf6f1cdb88210a639e6eeb5e51 /netcon/docker-test/nodejs
parent81203b20b84b30d8aa1f1083d60b71a4777b7e26 (diff)
downloadinfinitytier-608e059b180f2dd2b6d7dc0f8ef1bc5324039343.tar.gz
infinitytier-608e059b180f2dd2b6d7dc0f8ef1bc5324039343.zip
single updated test file
Diffstat (limited to 'netcon/docker-test/nodejs')
-rw-r--r--netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh b/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh
index 324ebc8a..44e79eb8 100644
--- a/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh
+++ b/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh
@@ -29,9 +29,11 @@ echo '*** Up and running at' $virtip4 ' on network: ' $nwid
echo '*** Writing address to ' "$address_file"
echo $virtip4 > "$address_file"
-export ZT_NC_NWID=$dev
+export ZT_NC_NETWORK=/var/lib/zerotier-one/nc_"$dev"
+echo $ZT_NC_NETWORK
+export LD_PRELOAD ./libzerotierintercept.so
# --- Test section ---
echo '*** Starting application...'
sleep 0.5
-zerotier-intercept node httpserver.js \ No newline at end of file
+node httpserver.js \ No newline at end of file