-
Notifications
You must be signed in to change notification settings - Fork 652
Simplify syntax for selecting images, with locations and digests #2418
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
Comments
The new |
Alternatively one could use something longer like |
Added |
Also good when adding more optional fields to images - like * see https://docs.ipfs.tech/concepts/content-addressing/ for CID information Example entry: - location: "https://cloud-images.ubuntu.com/releases/24.04/release-20240423/ubuntu-24.04-server-cloudimg-amd64.img"
size: 475004928
arch: "x86_64"
digest: "sha256:32a9d30d18803da72f5936cf2b7b9efcb4d0bb63c67933f17e3bdfd1751de3f3"
cid: "bafybeig5sch22ecfox7gq724rz7uivydwvnnpuqdcnjz72iwelgtrakzui" |
More architectures now in the default template, making "images" twice as long... |
This is now possible with the
This is something we could implement right away with Lima 1.1.0, if we wanted to. I've also written a little bit about how we could eventually have a single template per distro, and select the release via a But that is still some way off and will need further discussion and refinement before we can figure out if that is a good idea or not. |
Description
Make the usage of Lima more similar to a
Vagrantfile
or aDockerfile
.https://app.vagrantup.com/cloud-image
https://hub.docker.com/_/ubuntu
This by separating the usage of the images with the definition of the images.
templates/ubuntu.yaml
images/ubuntu-24.04.yaml
The image can be shared with multiple templates, reducing the need for copy/paste of details.
The text was updated successfully, but these errors were encountered: