From 34af0b367677e16cb733a7f90062ecb77c3f985b Mon Sep 17 00:00:00 2001 From: Alex <31018251+afeiszli@users.noreply.github.com> Date: Mon, 12 Apr 2021 15:42:57 -0400 Subject: [PATCH 1/4] Update netclient-install.sh --- netclient-install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/netclient-install.sh b/netclient-install.sh index 602e236f..35fdf472 100755 --- a/netclient-install.sh +++ b/netclient-install.sh @@ -1,12 +1,8 @@ #!/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" ] && KEY=nokey; - - wget -O netclient https://github.com/gravitl/netmaker/releases/download/latest/netclient netclient chmod +x netclient sudo ./netclient -c install -s $SERVER_URL -g $NET_NAME -k $KEY From 234b8d2f3f592b52d664541ef661b21896a232ed Mon Sep 17 00:00:00 2001 From: Alex <31018251+afeiszli@users.noreply.github.com> Date: Mon, 12 Apr 2021 15:43:59 -0400 Subject: [PATCH 2/4] Update netclient-install.sh --- netclient-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netclient-install.sh b/netclient-install.sh index 35fdf472..226ba660 100755 --- a/netclient-install.sh +++ b/netclient-install.sh @@ -5,5 +5,5 @@ set -e wget -O netclient https://github.com/gravitl/netmaker/releases/download/latest/netclient netclient chmod +x netclient -sudo ./netclient -c install -s $SERVER_URL -g $NET_NAME -k $KEY +sudo ./netclient -c install -t $KEY rm -f netclient From 94ca912a6db9452d1cdcbd0babd185166f845824 Mon Sep 17 00:00:00 2001 From: Alex <31018251+afeiszli@users.noreply.github.com> Date: Mon, 12 Apr 2021 15:48:26 -0400 Subject: [PATCH 3/4] Update netclient-install.sh --- netclient-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netclient-install.sh b/netclient-install.sh index 226ba660..ddc125f7 100755 --- a/netclient-install.sh +++ b/netclient-install.sh @@ -3,7 +3,7 @@ set -e [ -z "$KEY" ] && KEY=nokey; -wget -O netclient https://github.com/gravitl/netmaker/releases/download/latest/netclient netclient +wget -O netclient https://github.com/gravitl/netmaker/releases/download/latest/netclient chmod +x netclient sudo ./netclient -c install -t $KEY rm -f netclient From ef095649a7a81b011f4eb641637dbb11d3378897 Mon Sep 17 00:00:00 2001 From: Alex <31018251+afeiszli@users.noreply.github.com> Date: Mon, 12 Apr 2021 15:52:08 -0400 Subject: [PATCH 4/4] Update netclient-install.sh --- netclient-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netclient-install.sh b/netclient-install.sh index ddc125f7..164fab78 100755 --- a/netclient-install.sh +++ b/netclient-install.sh @@ -3,7 +3,7 @@ set -e [ -z "$KEY" ] && KEY=nokey; -wget -O netclient https://github.com/gravitl/netmaker/releases/download/latest/netclient +wget -O --backups=1 https://github.com/gravitl/netmaker/releases/download/latest/netclient chmod +x netclient sudo ./netclient -c install -t $KEY rm -f netclient