Commit graph

361 commits

Author SHA1 Message Date
Abhishek Kondur 878430bf75 create client for nodes on authenticate,generate dyn sec file on startup 2022-09-27 17:36:33 +05:30
afeiszli 134c4eaf81 set dns in docker 2022-09-26 11:15:57 -04:00
0xdcarns 88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
afeiszli 4243fc89fd fixing timing 2022-09-08 16:25:19 -04:00
afeiszli 553ab7ab83 modifying script for vpn 2022-09-08 11:09:25 -04:00
afeiszli 23cd2cf2fd added missing quotes 2022-09-02 16:08:33 -04:00
afeiszli 2b1181c9be fixing ipv6 gateway address, adding to installer docs 2022-09-02 16:06:59 -04:00
dcarns 17256007e2
Merge pull request #1486 from Gromina/master
Dirty fix to run on openwrt as init daemon
2022-08-26 10:42:17 -04:00
Alexander Sorokin 04515aadaa
Dirty fix to run on openwrt as init daemon 2022-08-26 14:11:22 +03:00
dcarns d2b95c338c
Merge pull request #1434 from gravitl/feature_v0.14.7_scripts
fixing nm scripts, adding back interactive script
2022-08-11 09:03:11 -04:00
afeiszli 02b303e90f allowing script to pull configs from web 2022-08-04 11:31:20 -04:00
Christopher Blaha 2ddbfabec7 rm netmaker-server.sh 2022-08-03 23:34:22 -04:00
afeiszli 7a37952030 adding random email 2022-08-03 17:27:36 -04:00
afeiszli 5606f06088 fixing nm scripts, adding back interactive script 2022-07-30 09:55:18 -04:00
dcarns 604bd9be75
Merge pull request #1389 from HarvsG/patch-2
Bash is a dependency for OpenWRT
2022-07-25 12:46:19 -04:00
dcarns bc5f3c09ea
Merge pull request #1388 from HarvsG/patch-1
improve lower-casing for open wrt
2022-07-25 12:45:57 -04:00
dcarns e280a3a442
Merge pull request #1356 from abhishek9686/bugfix_v0.14.3_netclient_script
Bugfix v0.14.3 netclient script
2022-07-25 12:43:25 -04:00
Christopher Blaha 61af7757ae space 2022-07-25 08:50:32 -04:00
Christopher Blaha 14d5afd0ca changed the ranges so the ranges aren't one node 2022-07-23 17:11:53 -04:00
Christopher Blaha fcd9afe7e0 changed vpn ranges 2022-07-23 00:00:03 -04:00
Christopher Blaha 1fb04fbf6d removed gravitl ascii logo and install-netmaker.sh 2022-07-21 18:45:34 -04:00
cameronts 210659ca00 Updated install-netmaker.sh to replace email in docker-compose.yml. 2022-07-21 11:10:16 -07:00
cameronts 51ce591afc Modified to generate random emails instead of using fake@email.com. 2022-07-20 16:29:08 -07:00
HarvsG 9de66d5bbb
Bash is a dependency for OpenWRT 2022-07-13 18:45:13 +01:00
HarvsG 9a5fd05005
improve lower-casing
fixes an error on OpenWRT
2022-07-13 18:25:38 +01:00
Abhishek Kondur 482b793c16 update json field for api server addr 2022-07-08 12:54:02 +04:00
Abhishek Kondur dac5dd9cb9 add pkg update command 2022-07-08 12:53:21 +04:00
afeiszli 24cda37f28 change link on quick start 2022-07-07 10:58:04 -04:00
Caleb Gasser b54298347e Fixed incorrect flag. 2022-06-22 12:03:04 -05:00
Caleb Gasser 4c30b5d5df Revert "Fixed incorrect flag."
This reverts commit d7a48b8a22.
2022-06-22 12:01:56 -05:00
Caleb Gasser d7a48b8a22 Fixed incorrect flag. 2022-06-22 11:13:28 -05:00
Caleb Gasser 70798739de Added check to see if netclient is present or not. 2022-06-22 11:11:06 -05:00
Caleb Gasser d47b6c0fc7 Added output message. 2022-06-22 11:05:15 -05:00
Caleb Gasser 5bb7856b75 For FreeBSD, move netclient to executable directory. 2022-06-22 11:02:39 -05:00
Caleb Gasser 10d5345714 Don't use the key if not provided. 2022-06-22 10:57:27 -05:00
Caleb Gasser 2edfa6f801 Added wireguard to dependencies. 2022-06-22 10:52:01 -05:00
afeiszli 107b8f50dd minor fixes to traefik compose and nm-quick 2022-06-02 10:07:44 -04:00
afeiszli 6a8b5c370d adding email back in 2022-06-02 08:38:03 -04:00
afeiszli a8bb921378 modifying nm-quick script 2022-06-01 17:22:18 -04:00
Matthew R. Kasun d34cf98932 delete wg interfaces on netclient docker shutdown 2022-05-26 09:58:35 -04:00
afeiszli e14a30a414 changing versions 2022-05-16 15:15:00 -04:00
Boris Fersing d919b311b5 - Fix docker config to not expose ports to the host unnecessarily
- Use the hostname instead of localhost to interact with the API for the initial setup
2022-05-10 09:57:58 -04:00
Matthew R. Kasun 7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R Kasun a3f44f152b
Merge pull request #1016 from gravitl/feature_v0.13.0_mq_register
Feature v0.13.0 mq register
2022-04-20 09:33:33 -04:00
Matthew R. Kasun ec51fd2be1 update compose files to work with cert generation by netmaker 2022-04-19 10:26:50 -04:00
Matthew R. Kasun 31b3dfec14 remove openssl from nm-quick
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 18:26:42 -04:00
Matthew R. Kasun 41333301e6 docker related updates
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 13:50:30 -04:00
Matthew R. Kasun 84de5c5216 use issuer's public key for certs 2022-04-15 09:54:35 -04:00
Matthew R. Kasun 199ea15b1d add VerifyConnection func to NewTLSConf as InsecureSkipVerify:false doesn't work
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-13 11:58:15 -04:00
Matthew R. Kasun a0e7163e7e program to generate initial server certs/key 2022-04-12 17:19:24 -04:00
Matthew R. Kasun c5af286504 remove obsolete script 2022-03-31 08:28:36 -04:00
john s e1ace88508
scripts/build-binaries.sh: support for all OS/ARCH (#948)
* scripts/build-binaries.sh: support for all OS/ARCH

Expands our build scripts to support the following OS/ARCHS:

netclient-linux-amd64
netclient-linux-arm5
netclient-linux-arm6
netclient-linux-arm7
netclient-linux-arm64
netclient-linux-mips
netclient-linux-mips64
netclient-linux-mips64le
netclient-linux-mipsle
netclient-linux-ppc64
netclient-linux-ppc64le
netclient-linux-riscv64
netclient-linux-s390x
netclient-linux-386
netclient-freebsd-amd64
netclient-freebsd-arm5
netclient-freebsd-arm6
netclient-freebsd-arm7
netclient-freebsd-arm64
netclient-freebsd-386
netclient-darwin-arm64
netclient-darwin-amd64
netclient-windows-amd64
netclient-windows-arm5
netclient-windows-arm6
netclient-windows-arm7
netclient-windows-arm64
netclient-windows-386

* bin-maker.sh: update default VERSION

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-22 14:14:57 -06:00
Yuanji dc470f47c3
Fix typo for Arch Linux 2022-03-20 22:50:41 +09:00
dcarns f513e043a0
Merge pull request #875 from gravitl/hotfix_v0.11.1_windows_powershell
Hotfix v0.11.1 windows powershell
2022-03-08 07:52:48 -05:00
afeiszli a9ed7401ca changing script 2022-03-07 21:53:25 -05:00
afeiszli 19da1d4c6f changing script 2022-03-07 21:37:10 -05:00
john s 24a57e8a37
Merge branch 'develop' into dev-nm-quick-resolv 2022-03-07 13:30:51 -06:00
John Sahhar a124eccb8f scripts/nm-quick.sh: remove resolvctl dependency
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-07 13:20:35 -06:00
Alex Feiszli 9fd1d15b69
Merge pull request #855 from gravitl/hotfix_v0.11.1_CGO
disable CGO for all builds
2022-03-07 09:39:07 -05:00
Alex Feiszli 3d9119d952
Merge pull request #856 from nick81nrw/fix_win_installscript
fix nm-win-installer - add WireGuard env
2022-03-07 09:35:49 -05:00
Matthew R. Kasun bdd8de56fb enable CGO for netmaker 2022-03-04 13:36:48 -05:00
Nick81nrw 64d0660392 fix nm-win-installer - add WireGuard env 2022-03-04 09:30:40 +01:00
Matthew R. Kasun 666faaa867 disable CGO for all builds 2022-03-03 16:19:25 -05:00
afeiszli 952616db89 adding rocky linux support in install script 2022-02-23 08:23:07 -05:00
Matthew R. Kasun 0d43206530 add darwin/arm64 to release assets 2022-02-15 13:48:49 -05:00
Matthew R. Kasun 4ab924af3e use main.version rather than subpackage variables 2022-02-10 15:10:18 -05:00
Matthew R. Kasun abd1ad60dd remove x86_32
remove freebsd daemon as --deamon on is now valid for freebsd
updated openWRT daemon to use new paths and arguments
add support for arch installs
2022-02-10 10:13:54 -05:00
Matthew R. Kasun 09f8114cc0 removed installation of freebsd daemon (done by netclient)
updated openwrt daemon to installl in /sbin and update command to be run
removed x86_32
add support for arch
2022-02-10 09:56:46 -05:00
baudneo 45dce1cc9c
Update netclient-install.sh
URL ,pattern needed changing to successfully download netclient
2022-02-09 21:10:05 -07:00
afeiszli 8276fb4c63 fixing script 2022-02-09 10:44:36 -05:00
afeiszli a1cfb70fa7 changing link 2022-02-09 10:33:07 -05:00
afeiszli 0d663abf28 netclient container startup script mod 2022-02-08 23:55:45 -05:00
afeiszli 9400209d97 adding OS and Version 2022-02-03 15:33:19 -05:00
afeiszli 0c502baa14 updating netclient bin directory 2022-02-01 16:48:06 -05:00
afeiszli 36d6adacb4 updating compose and installer 2022-02-01 16:25:31 -05:00
Matthew R Kasun 273322c6ad update compose file and scripts to use mosquitto broker. Includes insecure config file for mosquitto 2022-01-20 12:50:00 -05:00
afeiszli 7dc794285c resolving conflicts 2022-01-16 10:28:53 -05:00
afeiszli 93188fb32a adding small fixes and token convert script 2022-01-15 18:46:57 -05:00
ethanfowler b60c6a8d61
Fix netclient install on ARMv6
`uname -m` gives `armv6l` on e.g. raspberry PI zero. This was resulting in the switch defaulting to
`https://github.com/gravitl/netmaker/releases/download/0.9.3/netclient-armv6l` instead of 
`https://github.com/gravitl/netmaker/releases/download/0.9.3/netclient-armv6`
and a 404.
2022-01-10 17:20:33 +00:00
Matthew R Kasun 314fc3057e add resolvconf as dependency in nm-quick.sh 2022-01-01 08:39:07 -05:00
pete1019 64997faea9
Update netclient-install.sh
MacOS Mojave print on uname "Darwin" and not "darwin".
2021-12-13 10:40:51 +01:00
afeiszli 279fa1d3a1 no udp hole punch for docker 2021-12-11 12:39:22 -05:00
afeiszli dd40a317d6 updating install script 2021-11-29 08:18:07 -05:00
afeiszli 11a0ecdbb8 updating readme and versions 2021-11-29 08:16:35 -05:00
afeiszli dc6ee1a18a adding templates 2021-11-29 05:28:08 -05:00
afeiszli 801919ab0d fixing client issues for uspace, fwmark, vpn 2021-11-29 04:34:11 -05:00
afeiszli 46e17b29b3 fixing binary versions 2021-11-23 08:04:37 -05:00
afeiszli 1c8071293d fixing binary versions 2021-11-23 07:54:50 -05:00
Alex 3b7055758d
Merge pull request #499 from a1ad/feature_v0.9.1_arm7_scriptfix
Update install script: netclient-armv7 to netclient-arm7
2021-11-23 07:32:47 -05:00
jeroenr af60538759 dist=netclient-armv7 > dist=netclient-arm7 2021-11-22 18:33:20 +01:00
afeiszli bdd1c8fc38 fixed openwrt/windows scripts 2021-11-22 07:54:01 -05:00
afeiszli 638cb0ec04 cleaning up powershell 2021-11-17 23:45:40 -05:00
afeiszli d4001f6a4d fixing windows 2021-11-17 22:06:25 -05:00
afeiszli ccbd6f90f7 fixing windows 2021-11-17 21:57:27 -05:00
afeiszli 20a939b188 windows netclient fix 2021-11-17 12:33:42 -05:00
afeiszli 55e51da1ec fixing syntax error on nc install 2021-11-17 10:23:29 -05:00
afeiszli 0d9f2db514 binary builder script 2021-11-17 10:21:35 -05:00
Alex c0927b6f40
Merge pull request #468 from gravitl/feature_v0.9.0_cleanup
Feature v0.9.0 cleanup
2021-11-17 09:59:27 -05:00
afeiszli 5626c1111c change develop references to master 2021-11-17 08:21:30 -05:00
Alex d69fa92ae3
Merge pull request #467 from gravitl/feature_v0.9.0_cleanup
Feature v0.9.0 cleanup
2021-11-16 22:40:07 -05:00
afeiszli aac6837147 docker working 2021-11-16 22:18:24 -05:00
Alex fef3f5e206
Merge pull request #466 from gravitl/feature_v0.9.0_cleanup
Feature v0.9.0 cleanup
2021-11-16 20:58:43 -05:00
afeiszli 39cd054521 fixed script for freebsd 2021-11-16 20:56:22 -05:00
afeiszli c901f5ec34 updating windows script 2021-11-16 23:44:26 -05:00
Alex 3fc2a729ad
Merge branch 'develop' into patch-1 2021-11-16 14:21:28 -05:00
Alex 018fd4a18d
Merge pull request #459 from oycol/mipsle_build
openwrt: remove f parameter on ps
2021-11-16 14:19:51 -05:00
afeiszli b42568a7ce fixing script 2021-11-16 14:18:41 -05:00
afeiszli 9ba0b16a99 adding freebsd script 2021-11-16 09:51:37 -05:00
oycol ff5e8c1b7a openwrt: remove f parameter on ps 2021-11-16 07:01:43 +08:00
afeiszli 27c9bfe223 powershell script 2021-11-15 15:02:07 -05:00
CooperNatties 6dc6423f63
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.
2021-11-13 11:18:26 -06:00
Alex 9e9494e524
Update nm-quick.sh 2021-11-07 22:41:36 -05:00
Alex 5c623896e9
Merge pull request #444 from oycol/mipsle_build
openwrt: mipsle version
2021-11-07 11:35:21 -05:00
oycol 9a3fa2d8f1 openwrt: small fix with pids 2021-11-07 23:54:34 +08:00
oycol f5bc70be3a openwrt: mipsle build and service 2021-11-06 05:03:09 +08:00
afeiszli a035a9cb86 point to master instead of develop for pull 2021-11-05 11:43:49 -04:00
afeiszli c0132a13f9 fixing script 2021-11-05 11:16:05 -04:00
afeiszli a52656ce98 fixing script 2021-11-05 09:59:42 -04:00
Adrien Raffin-Caboisse 7a40e80b9b
fix(install-script): add NAME variable to set hostname 2021-11-04 11:35:29 +01:00
Alex a9f6bc78aa
Merge pull request #425 from pete1019/patch-7
armv7l fix
2021-11-03 14:08:56 -04:00
Alex b9673da846
Merge pull request #419 from pete1019/patch-6
check if files exists, if not get from latest
2021-11-03 14:08:00 -04:00
Alex 1f82ed192a
Merge pull request #418 from bsherman/develop
Prepend a 'v' when version is not 'latest' and lacks a leading 'v'.
2021-11-03 14:07:07 -04:00
pete1019 f493cd2c76
armv7l fix
Pi Zero 2 or some Pi 3 will have armv7l. They need armv7.
uname -m
armv7l

it printed a 404 error because thre is no armv7l file
2021-11-03 09:23:25 +01:00
pete1019 29a20abba5
check if files exists, if not get from latest 2021-10-31 18:18:07 +01:00
Benjamin Sherman 6495c8695d Prepend a 'v' when version is not 'latest' and lacks a leading 'v'. Partially addresses #403 2021-10-31 09:58:45 -05:00
afeiszli 10c205e5ea install jq in nm-quick 2021-10-29 15:56:08 -04:00
Alex 15ecac277f
Update netclient-install.sh 2021-10-28 17:59:54 -04:00
afeiszli 8f5ac05211 fixing output of nm-quick 2021-10-28 17:31:29 -04:00
afeiszli 52643551fd updating readme 2021-10-28 16:37:51 -04:00
afeiszli f21bd10635 updating docs and script 2021-10-28 12:56:05 -04:00
afeiszli 029a66c8c7 removing output from nm-quick wget 2021-10-26 15:16:15 +00:00
afeiszli 229a8fd52c Merge branch 'develop' of https://github.com/gravitl/netmaker into feature_v0.8.5_scripts 2021-10-26 15:00:45 +00:00
afeiszli ddddb3b848 updated install scripts 2021-10-26 14:58:20 +00:00
pete1019 e8a1d1d308
Update nm-quick.sh
changed another if to elif
2021-10-22 08:56:55 +02:00
pete1019 7d7dd7a595
Update nm-quick.sh
These parameters can be used:
domain= and/or email=

Example:
sudo wget -qO - https://raw.githubusercontent.com/gravitl/netmaker/develop/scripts/nm-quick.sh | bash -s domain=mynetmaker.domain.com email=example@email.com
2021-10-22 00:16:48 +02:00
afeiszli c7b922259f netclient script hotfix 2021-10-20 12:29:59 -04:00
afeiszli c26f887e27 updating install script and README 2021-10-20 11:06:54 -04:00
afeiszli fb4d2d1272 change version of ubuntu 2021-10-19 15:53:01 -04:00
afeiszli e5ca943542 userspace logic 2021-10-14 22:03:05 -04:00
afeiszli a172641cad updating README 2021-10-07 10:11:52 -04:00
afeiszli 583d843325 updating install docs and adding script 2021-10-03 15:50:22 -04:00
afeiszli 5d786740d7 runs, but need to remove resolvectl command 2021-09-28 18:24:10 -04:00
0xdcarns 90d941854b made some more efficient images and added set defaults for node reads 2021-09-27 17:51:20 -04:00
worker-9 df132e2396 started work on smaller images 2021-09-27 09:57:12 -04:00
afeiszli 6e8f77068b hotfixing small issues 2021-08-20 08:11:09 -04:00
afeiszli d424c7b7d0 fixing versions 2021-08-19 19:27:25 -04:00
worker-9 9d2962a171 added version and fixed script and doc stuff 2021-08-16 16:30:55 -04:00
afeiszli 39e4d5377c updating docs 2021-08-10 23:27:13 -04:00
afeiszli f496beac4e static configs 2021-08-09 14:28:43 -04:00
Alex 6b5f5450be
Update netclient-install.sh 2021-07-28 14:28:44 -04:00
U VuM0 0fe30ffe34 updated net-client scripts 2021-07-18 19:04:39 -05:00
Alex 304698c107
Update netclient-install.slim.sh 2021-06-09 12:43:15 -04:00
Alex 0f03955819
Create netclient-install.slim.sh 2021-06-08 17:06:28 -04:00
Alex 83949372c4
Merge pull request #168 from gravitl/develop
Develop
2021-06-03 01:29:25 -04:00
afeiszli 7c36a83af4 adding checkin and dns fixes 2021-06-03 00:55:39 -04:00
Alex fe915d931d
Update netclient-install.sh 2021-06-03 00:40:28 -04:00
afeiszli e732d180fd fixing server 2021-06-02 02:32:20 +00:00
afeiszli cd49cff809 feature_v0.5_uiint 2021-05-31 18:05:48 -04:00
afeiszli 78ae219b03 major overhaul initiated 2021-05-25 12:48:04 -04:00
afeiszli 2b77ae6723 dns server setup 2021-05-04 21:36:55 +00:00
afeiszli 7861e9e1e5 installer updates 2021-05-04 03:01:03 +00:00