lima-vm / lima-vm/lima

Allow additional base templates to be specified during `limactl create`

Open
#3,404 3 comments 0 reactions 1 assignee Assigned to @olamilekan000 View on GitHub
area/cli enhancement
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

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:

```yaml
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).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.