mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-11 21:45:18 +00:00
examples files for kube int
This commit is contained in:
parent
9dc507c9ae
commit
0fd3afe2c8
@ -13,6 +13,9 @@ echo '*** Up and running at' $virtip4 ' on network: ' $nwid
|
|||||||
echo '*** Self-Authorizing to deployment network'
|
echo '*** Self-Authorizing to deployment network'
|
||||||
nwconf=$(ls *.conf)
|
nwconf=$(ls *.conf)
|
||||||
nwid="${nwconf%.*}"
|
nwid="${nwconf%.*}"
|
||||||
|
AUTHTOKEN="(cat /var/lib/zerotier-one/authtoken.secret)"
|
||||||
|
|
||||||
|
grep -rl 'local_service_auth_token' ./ | xargs sed -i 's/local_service_auth_token/' $AUTHTOKEN '/g'
|
||||||
|
|
||||||
./zerotier-cli join $(nwid).conf
|
./zerotier-cli join $(nwid).conf
|
||||||
./zerotier-cli net-auth $(nwid) $(dev)
|
./zerotier-cli net-auth $(nwid) $(dev)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user