mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-09 05:16:45 +08:00
fixing script
This commit is contained in:
parent
3301033d61
commit
a52656ce98
1 changed files with 6 additions and 0 deletions
|
@ -106,5 +106,11 @@ else
|
||||||
wget -nv -O netclient https://github.com/gravitl/netmaker/releases/download/latest/$dist
|
wget -nv -O netclient https://github.com/gravitl/netmaker/releases/download/latest/$dist
|
||||||
fi
|
fi
|
||||||
chmod +x netclient
|
chmod +x netclient
|
||||||
|
|
||||||
|
if [ -z "${NAME}" ]; then
|
||||||
|
sudo ./netclient join -t $KEY
|
||||||
|
else
|
||||||
sudo ./netclient join -t $KEY --name $NAME
|
sudo ./netclient join -t $KEY --name $NAME
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f netclient
|
rm -f netclient
|
||||||
|
|
Loading…
Add table
Reference in a new issue