Update netclient-install.sh

Remove sudo command from line 108

The script already checks to make sure it's being run as root, so sudo is superfluous here, and causes minimal Debian installs to fail since sudo is not included in base Debian.
This commit is contained in:
CooperNatties 2021-11-13 11:18:26 -06:00 committed by GitHub
parent ce2a29588a
commit 6dc6423f63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,5 +105,5 @@ else
wget -nv -O netclient https://github.com/gravitl/netmaker/releases/download/latest/$dist
fi
chmod +x netclient
sudo ./netclient join -t $KEY
./netclient join -t $KEY
rm -f netclient