summaryrefslogtreecommitdiff
path: root/netcon/docker-test/nodejs
diff options
context:
space:
mode:
authorroot <root@localhost.localdomain>2015-12-07 03:21:46 -0800
committerroot <root@localhost.localdomain>2015-12-07 03:21:46 -0800
commit036bbfaff9b5ad7a04e91b03b38688f5d03a878c (patch)
tree0e2babfb0fe188603ac41674b0ecc1024b5bf117 /netcon/docker-test/nodejs
parentafafde257171288d096b3d25532aef81f8ed9764 (diff)
downloadinfinitytier-036bbfaff9b5ad7a04e91b03b38688f5d03a878c.tar.gz
infinitytier-036bbfaff9b5ad7a04e91b03b38688f5d03a878c.zip
Modified test scripts to match new naming conventions
Diffstat (limited to 'netcon/docker-test/nodejs')
-rw-r--r--netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_dockerfile1
-rw-r--r--netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh6
2 files changed, 4 insertions, 3 deletions
diff --git a/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_dockerfile b/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_dockerfile
index 1e7e10ad..fc57dfae 100644
--- a/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_dockerfile
+++ b/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_dockerfile
@@ -33,6 +33,7 @@ RUN /usr/bin/install -c zerotier-intercept /usr/bin
ADD zerotier-one /
ADD zerotier-cli /
+ADD zerotier-netcon-service /
# Install test scripts
ADD netcon_entrypoint.sh /netcon_entrypoint.sh
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 a6e1b6c1..9d485c2a 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
@@ -16,9 +16,9 @@ address_file="$file_path$test_name"_addr"$tmp_ext" # file shared between host an
# --- Network Config ---
echo '*** ZeroTier Network Containers Test: ' "$test_name"
-chown -R daemon /var/lib/zerotier-one
-chgrp -R daemon /var/lib/zerotier-one
-su daemon -s /bin/bash -c '/zerotier-one -d -U -p9993 >>/tmp/zerotier-one.out 2>&1'
+chown -R daemon /var/lib/zerotier-netcon-service
+chgrp -R daemon /var/lib/zerotier-netcon-service
+su daemon -s /bin/bash -c '/zerotier-netcon-service -d -U -p9993 >>/tmp/zerotier-netcon-service.out 2>&1'
virtip4=""
while [ -z "$virtip4" ]; do
sleep 0.2