mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-28 01:52:58 +08:00
Merge pull request #456 from MikePadge/patch-1
Update netclient-install.sh
This commit is contained in:
commit
b6acf2083e
1 changed files with 2 additions and 2 deletions
|
@ -167,9 +167,9 @@ if [ "${OS}" = "FreeBSD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${NAME}" ]; then
|
if [ -z "${NAME}" ]; then
|
||||||
sudo ./netclient join -t $KEY $EXTRA_ARGS
|
./netclient join -t $KEY $EXTRA_ARGS
|
||||||
else
|
else
|
||||||
sudo ./netclient join -t $KEY --name $NAME $EXTRA_ARGS
|
./netclient join -t $KEY --name $NAME $EXTRA_ARGS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f netclient
|
rm -f netclient
|
||||||
|
|
Loading…
Reference in a new issue