Skip to content

Commit

Permalink
Merge pull request #2795 from AkihiroSuda/ubuntu-old
Browse files Browse the repository at this point in the history
templates: add ubuntu-20.04, ubuntu-22.04
  • Loading branch information
jandubois authored Oct 24, 2024
2 parents e0346fc + 56eb5dd commit 78ffc3a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
25 changes: 25 additions & 0 deletions examples/ubuntu-20.04.yaml
Original file line number Diff line number Diff line change
@@ -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
30 changes: 30 additions & 0 deletions examples/ubuntu-22.04.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 78ffc3a

Please sign in to comment.