Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make configuration file path overridable by CLI/Env #285

Closed
kradalby opened this issue Jan 27, 2022 · 1 comment
Closed

Make configuration file path overridable by CLI/Env #285

kradalby opened this issue Jan 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@kradalby
Copy link
Collaborator

Currently we have a very rigid hierarchy of paths that we look for the configuration file.

We should add the possibility to pass:

  1. --config (or -c) to all commands with the path to a configfile
  2. HEADSCALE_CONFIG_PATH in the environment
@kradalby kradalby added the enhancement New feature or request label Jan 27, 2022
@kradalby
Copy link
Collaborator Author

This has been fixed in #612

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant