mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-26 17:15:23 +08:00
10 lines
233 B
Bash
Executable file
10 lines
233 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
[ -z "$KEY" ] && KEY=nokey;
|
|
|
|
wget -O netclient https://github.com/gravitl/netmaker/releases/download/v0.5/netclient
|
|
chmod +x netclient
|
|
sudo ./netclient register -t $KEY
|
|
sudo ./netclient join -t $KEY
|
|
rm -f netclient
|