earvingad / earvingad.github.io

Own blog
https://earvingad.github.io/
3 stars 0 forks source link

blog change on headscale post #2

Closed pkkrusty closed 11 months ago

pkkrusty commented 11 months ago

namespace is now user, and to register a new machine, the command now looks like:

sudo headscale --user nodes register --key nodekey:

earvingad commented 11 months ago

Thanks!

Changed already from sudo headscale -n NAMESPACE nodes register --key <a-fuckin-long-key> to sudo headscale --user NAMESPACE nodes register --key <a-fuckin-long-key>

NAMESPACE is just the name to replace with your headscale net name.

pkkrusty commented 11 months ago

Forgot to add that --key requires "nodekey:" in front of the key. Which is crazy, but wouldn't work for me until I did it.

earvingad commented 11 months ago

Ooh yeah, that's what I meant with <a-fuckin-long-key> it seems that the image I was using as example of the instructions is not being rendered. I'll replace it tomorrow for better understanding.