Description
What version of nebula
are you using?
master
What operating system are you using?
Mac
Describe the Bug
I want to email my friend a zip file with nebula.exe + config.yml + certs, and tell them "double-click nebula.exe to connect to my network"
service.go already contains code for "if config isn't specified, check to see if there's a config file next to the binary":
nebula/cmd/nebula-service/service.go
Lines 53 to 59 in 4453964
Could this code be used in the other places, so we default to "check the current folder" instead of "exit with an error"?
Now that I write this out, I realise that I could also include a .bat
file in the .zip
which just runs ./nebula.exe -config config.yml
, but I feel like "check the current folder" would be nicer, and service.go
is doing that already, so really we'd just be making it consistent :)
Logs from affected hosts
No response
Config files from affected hosts
No response