netclient-install.sh 207 B

123456789
  1. #!/bin/sh
  2. set -e
  3. [ -z "$KEY" ] && KEY=nokey;
  4. wget -O netclient https://github.com/gravitl/netmaker/releases/download/latest/netclient
  5. chmod +x netclient
  6. sudo ./netclient -c install -t $KEY
  7. rm -f netclient