mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-10 08:41:20 +08:00
Merge branch 'feature_v0.2_site2site' of https://github.com/gravitl/netmaker into feature_v0.2_site2site
This commit is contained in:
commit
ae6fd73cce
1 changed files with 2 additions and 6 deletions
|
|
@ -1,13 +1,9 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
[ -z "$SERVER_URL" ] && echo "Need to set SERVER_URL" && exit 1;
|
||||
[ -z "$NET_NAME" ] && echo "Need to set NET_NAME" && exit 1;
|
||||
[ -z "$KEY" ] && KEY=nokey;
|
||||
|
||||
|
||||
|
||||
wget -O netclient https://github.com/gravitl/netmaker/releases/download/latest/netclient netclient
|
||||
wget -O --backups=1 https://github.com/gravitl/netmaker/releases/download/latest/netclient
|
||||
chmod +x netclient
|
||||
sudo ./netclient -c install -s $SERVER_URL -g $NET_NAME -k $KEY
|
||||
sudo ./netclient -c install -t $KEY
|
||||
rm -f netclient
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue