Skip to content

Allow additional base templates to be specified during limactl create #3404

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

Open
jandubois opened this issue Apr 4, 2025 · 0 comments
Open
Assignees
Labels
area/cli limactl CLI user experience enhancement New feature or request

Comments

@jandubois
Copy link
Member

jandubois commented Apr 4, 2025

It should be possible to run this command:

limactl create https://example.com/template.yaml ./secrets.yaml

And the effect should be the same as if the user has used this local template:

base: [https://example.com/template.yaml, ./secrets.yaml]

This allows the user to supply locally defined settings to an external template.

If secrets.yaml had been specified inside template.yaml, then it would have been resolved relative to the template location, and not relative to the current directory, i.e. it would have tried to fetch https://example.com/secrets.yaml.

For consistency the same should work for limactl start too (when it is used to create and start a new instance in a single step).

@jandubois jandubois self-assigned this Apr 4, 2025
@jandubois jandubois added the enhancement New feature or request label Apr 4, 2025
@AkihiroSuda AkihiroSuda added the area/cli limactl CLI user experience label Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli limactl CLI user experience enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants