Closed afbjorklund closed 5 days ago
You can already use limactl start template://ubuntu
, limactl start template://fedora
, ...
Does this satisfy your requirement?
It is not a requirement, it was more of a feature that could be used in docker or k8s or similar.
Like how the nerdctl archives are predefined, and you only need to say "true" or "false"
Not sure what the best yaml engineering would be, just that it looks a bit redundant at the moment.
examples/buildkit.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/default.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/docker.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/faasd.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/k3s.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/k8s.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/podman.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/ubuntu-lts.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/ubuntu.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" examples/vmnet.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd"
Closed as duplicate of #2418, which has an implementation of the yaml engineering
images:
- ubuntu-22.04
Description
For instance Vagrant had this concept of boxes, where you would hide complexity under a name.
https://www.vagrantup.com/docs/boxes
It has the same problems of central control and what not as the yaml files themselves do, though.
https://app.vagrantup.com/ubuntu/boxes/focal64
Side note: it was only for VirtualBox, the others were https://app.vagrantup.com/generic/boxes/ubuntu2004 But it doesn't matter for this discussion, it was supposed to just reference the official Ubuntu cloud image...
But the idea of reducing the OS definition to a single line, would still be a useful concept ?
Instead of:
One would just say "ubuntu-22.04-20220420" (or something).
This would be "fedora-35-1.2", and similar lookups for the rest.
Currently it is all copy/paste, between the different examples.