mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-10 07:05:28 +08:00
commit
548977cc18
2 changed files with 16 additions and 5 deletions
|
@ -61,11 +61,9 @@ In future releases, we have plans to support other platforms such as Windows and
|
|||
6. . Click "Create Network" and fill out the details
|
||||
7. You are now ready to begin using Netmaker. Create a key or enable manual node sign up so that your nodes can connect.
|
||||
|
||||
#### On your machines [TODO - This will be updated within the next 24 hours with an install script]:
|
||||
1. Get the binary: `curl -vLJO -H 'Authorization: token YOUR_ACCESS_TOKEN' 'https://github.com/gravitl/netmaker/releases/download/v0.1/netclient'`
|
||||
10. Make it executable: `sudo chmod +x netclient`
|
||||
11. Run the install command: `sudo ./netclient -c install -g <group name> -s <server:port> -k <key value>`
|
||||
|
||||
#### On your machines :
|
||||
Run the following: `curl -sfL https://raw.githubusercontent.com/gravitl/netmaker/v0.1/netclient-install.sh | SERVER_URL=<your server ip>:50051 NET_NAME=<your network name> KEY=<your access key> sh -`
|
||||
(Note: Key can be left out if manual node signup is enabled)
|
||||
|
||||
#### LICENSE
|
||||
|
||||
|
|
13
netclient-install.sh
Executable file
13
netclient-install.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
[ -z "$SERVER_URL" ] && echo "Need to set SERVER_URL" && exit 1;
|
||||
[ -z "$NET_NAME" ] && echo "Need to set NET_NAME" && exit 1;
|
||||
[ -z "$KEY_VALUE" ] && KEY=nokey;
|
||||
|
||||
|
||||
|
||||
wget -O netclient https://github.com/gravitl/netmaker/releases/download/v0.1/netclient
|
||||
chmod +x netclient
|
||||
sudo ./netclient -c install -s $SERVER_URL -g $NET_NAME -k $KEY
|
||||
rm -f netclient
|
Loading…
Add table
Reference in a new issue