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

Improve config file mechanism #25

Open
r10r opened this issue Mar 27, 2021 · 0 comments
Open

Improve config file mechanism #25

r10r opened this issue Mar 27, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@r10r
Copy link
Contributor

r10r commented Mar 27, 2021

I really like the crio config command to generate the configuration file based on the passed flags and environment variables.
This makes it very convenient to generate a matching config file.
lxcri should support a similar mechanism for convenience.

  • Replace the environment file /etc/default/lxcri with a YAML config file in /etc/lxcri/lxcri.yaml.
  • Add a cli cmd lxcri {args} config to create and edit the config file.
  • Also add a flag and environment variable to overwrite the default location of the config file path, to support multiple environments.
@r10r r10r self-assigned this Mar 27, 2021
@r10r r10r changed the title Structured config file and CLI config support Improve config file mechanism Mar 27, 2021
@r10r r10r transferred this issue from another repository Apr 8, 2021
@r10r r10r added this to the lxcri v0.13.0 milestone Apr 30, 2021
@r10r r10r added the enhancement New feature or request label Apr 30, 2021
@r10r r10r pinned this issue May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant