mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-16 10:03:14 -07:00
Modified test scripts to match new naming conventions
This commit is contained in:
parent
afafde2571
commit
036bbfaff9
23 changed files with 55 additions and 57 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue