From 86ad30075fce662a0aa56e1a7ce480d38a4a6d5c Mon Sep 17 00:00:00 2001 From: Madalin Ignisca Date: Thu, 20 Jun 2024 14:21:36 +0200 Subject: [PATCH] Adds latest still supported ubuntu lts templates --- examples/deprecated/ubuntu-18.04.yaml | 20 ++++++++++++++++++++ examples/ubuntu-20.04.yaml | 20 ++++++++++++++++++++ examples/ubuntu-22.04.yaml | 20 ++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 examples/deprecated/ubuntu-18.04.yaml create mode 100644 examples/ubuntu-20.04.yaml create mode 100644 examples/ubuntu-22.04.yaml diff --git a/examples/deprecated/ubuntu-18.04.yaml b/examples/deprecated/ubuntu-18.04.yaml new file mode 100644 index 00000000000..25e4c265337 --- /dev/null +++ b/examples/deprecated/ubuntu-18.04.yaml @@ -0,0 +1,20 @@ +# This template requires Lima v0.7.0 or later. +images: +# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. +- location: "https://cloud-images.ubuntu.com/releases/18.04/release-20230607/ubuntu-18.04-server-cloudimg-amd64.img" + arch: "x86_64" + digest: "sha256:8dd2e6b5e5aad20c3f836123b300cba9861249408cbb07c359145a65d6bab6b6" +- location: "https://cloud-images.ubuntu.com/releases/18.04/release-20230607/ubuntu-18.04-server-cloudimg-arm64.img" + arch: "aarch64" + digest: "sha256:9930a57427ad8c9e50a84a36132cd5ad81751b64ee678062dcc354a9b84654f7" +# Fallback to the latest release image. +# Hint: run `limactl prune` to invalidate the cache +- location: "https://cloud-images.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-cloudimg-amd64.img" + arch: "x86_64" +- location: "https://cloud-images.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-cloudimg-arm64.img" + arch: "aarch64" + +mounts: +- location: "~" +- location: "/tmp/lima" + writable: true diff --git a/examples/ubuntu-20.04.yaml b/examples/ubuntu-20.04.yaml new file mode 100644 index 00000000000..dc28cdd2e88 --- /dev/null +++ b/examples/ubuntu-20.04.yaml @@ -0,0 +1,20 @@ +# This template requires Lima v0.7.0 or later. +images: +# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. +- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20240612/ubuntu-20.04-server-cloudimg-amd64.img" + arch: "x86_64" + digest: "sha256:7fce49f6c9afd2cdd9c26618b056f8806e500dd4d6eff516c9c6b5fab12e7f79" +- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20240612/ubuntu-20.04-server-cloudimg-arm64.img" + arch: "aarch64" + digest: "sha256:4f5a4c7ba0820ddca8273eec2ca7d39d18f5f622a670dcd0595af19960312078" +# Fallback to the latest release image. +# Hint: run `limactl prune` to invalidate the cache +- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img" + arch: "x86_64" +- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img" + arch: "aarch64" + +mounts: +- location: "~" +- location: "/tmp/lima" + writable: true diff --git a/examples/ubuntu-22.04.yaml b/examples/ubuntu-22.04.yaml new file mode 100644 index 00000000000..af9ebf5ae9f --- /dev/null +++ b/examples/ubuntu-22.04.yaml @@ -0,0 +1,20 @@ +# This template requires Lima v0.7.0 or later. +images: +# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20240614/ubuntu-22.04-server-cloudimg-amd64.img" + arch: "x86_64" + digest: "sha256:1cfbb6a46b0481239951d547abc712c2f536bf250eba888f1422716609a29b51" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20240614/ubuntu-22.04-server-cloudimg-arm64.img" + arch: "aarch64" + digest: "sha256:ee96bbc60af29b45d1bc44b40cd5cdb07736ffa1c965ba9477f84fce29f48085" +# Fallback to the latest release image. +# Hint: run `limactl prune` to invalidate the cache +- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" + arch: "x86_64" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img" + arch: "aarch64" + +mounts: +- location: "~" +- location: "/tmp/lima" + writable: true