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

Support more distros in the example #12

Merged
merged 9 commits into from
Jan 25, 2025
Merged

Support more distros in the example #12

merged 9 commits into from
Jan 25, 2025

Conversation

nirs
Copy link
Owner

@nirs nirs commented Jan 25, 2025

  • Pass command line arguments to most functions to clean up the code and make it easier to extend later.
  • Add support for multiple distros
  • Add fedora and alpine images

nirs added 9 commits January 25, 2025 17:51
We have too many arguments, passing args cleans up the code and make it
easier to extend.
Like start_helper, passing args simplifies the code and make it easier
to extend.
Currently using only args.vm_name, but with this change will make them
easy to modify to support other options.
This will probably never need anything else but args.vm_name, but it is
more consistent with similar functions.
For consistency with other function and for adding special handling per
distro.
Add --distro argument, preparing for adding more distros.
@nirs nirs merged commit 80ae85d into main Jan 25, 2025
3 checks passed
@nirs nirs deleted the distro branch January 25, 2025 23:16
@nirs nirs added this to the v0.2.0 milestone Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant