From 56eb5dd6dd98e794350b0be127302cab929bc78c Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Thu, 24 Oct 2024 17:47:23 +0900 Subject: [PATCH] templates: add ubuntu-20.04, ubuntu-22.04 Signed-off-by: Akihiro Suda --- examples/ubuntu-20.04.yaml | 25 +++++++++++++++++++++++++ examples/ubuntu-22.04.yaml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 examples/ubuntu-20.04.yaml create mode 100644 examples/ubuntu-22.04.yaml diff --git a/examples/ubuntu-20.04.yaml b/examples/ubuntu-20.04.yaml new file mode 100644 index 00000000000..6048343da54 --- /dev/null +++ b/examples/ubuntu-20.04.yaml @@ -0,0 +1,25 @@ +# 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/focal/release-20240821/ubuntu-20.04-server-cloudimg-amd64.img" + arch: "x86_64" + digest: "sha256:500a4be0e6dda27d911a3b658ceaad09595b81f10b602b58afb630904a8b04f4" +- location: "https://cloud-images.ubuntu.com/releases/focal/release-20240821/ubuntu-20.04-server-cloudimg-arm64.img" + arch: "aarch64" + digest: "sha256:f4b47dd0a608c9d69139af8a263801913ba87347925cc30dcad33b79a27f34d0" +- location: "https://cloud-images.ubuntu.com/releases/focal/release-20240821/ubuntu-20.04-server-cloudimg-armhf.img" + arch: "armv7l" + digest: "sha256:74675e6b3b2c5a9e09cdd709971e0b2512483e0b04c89baef1dd8629502df7bd" +# Fallback to the latest release image. +# Hint: run `limactl prune` to invalidate the cache +- location: "https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.img" + arch: "x86_64" +- location: "https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-arm64.img" + arch: "aarch64" +- location: "https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-armhf.img" + arch: "armv7l" + +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..bb70e096d86 --- /dev/null +++ b/examples/ubuntu-22.04.yaml @@ -0,0 +1,30 @@ +# 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-20241002/ubuntu-22.04-server-cloudimg-amd64.img" + arch: "x86_64" + digest: "sha256:55c687a9a242fab7b0ec89ac69f9def77696c4e160e6f640879a0b0031a08318" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20241002/ubuntu-22.04-server-cloudimg-arm64.img" + arch: "aarch64" + digest: "sha256:2edb369b85141fbeff6c87c7d92e08f315ec236f639235e35429e4930d98e2de" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20241002/ubuntu-22.04-server-cloudimg-riscv64.img" + arch: "riscv64" + digest: "sha256:6fa917df807c1ef434a99b18d930b1bbb7bf56a77977d83163766066dd74ecfa" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20241002/ubuntu-22.04-server-cloudimg-armhf.img" + arch: "armv7l" + digest: "sha256:35e952e46c5659233f18cf866e9b998f142c29f6391c10615b5f2470d0463109" +# 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" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-riscv64.img" + arch: "riscv64" +- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-armhf.img" + arch: "armv7l" + +mounts: +- location: "~" +- location: "/tmp/lima" + writable: true