Open prouveyrol opened 2 years ago
netclient-install.sh is no longer the recommended install path as of 0.14.3. Instead, use the appropriate package installer instructions:
https://docs.netmaker.org/netclient.html#install
If you are installing from a downloaded netclient, you can add the daemon doing the following:
netclient join -t (token) --daemon=install
Thanks, that is what I ended up doing. I can swear I read this somewhere in some doc here https://netmaker.readthedocs.io, but I am now unable to find it again.
All good. I'm closing the issue.
Found it again. https://netmaker.readthedocs.io/en/master/getting-started.html#deploy-nodes
Item 4 here. You might want to correct the doc to mention this page instead.
Best regards, and thanks for the awesome product.
Thanks! If you're interested, you can make a PR to fix the docs here: https://github.com/gravitl/netmaker-docs
Otherwise, I will try to have that in with the next release.
Contact Details
No response
What happened?
Running
On a fresh ubuntu 22.04 server, does not create the service file.
Looking at the script, at line 216 we see :
But in the case of an amd64 distro, it simply downloads the binary (not the deb), and runs the join, without creating the service file.
Considering lines 12 to 52, I think that you either were using packages in the past, or are planning to. But currently, the script as is does not function as expected, as the netclient will not be restarted upon reboot. It is not even moved to
/usr/bin
so trying to runnetclient leave…
will not work either, as the binary sits where the script was run.Version
v0.14.3
What OS are you using?
Linux
Relevant log output