Skip to content

Commit 230aacb

Browse files
authored
Merge pull request #717 from AkihiroSuda/pin-ubuntu-images
Ubuntu: skip kernel 5.13.0-35.40 (5.4.0-103.117 for 20.04 LTS)
2 parents c229fac + 2bb156f commit 230aacb

File tree

12 files changed

+202
-39
lines changed

12 files changed

+202
-39
lines changed

examples/buildkit.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,19 @@ message: |
1111
buildctl debug workers
1212
-------
1313
images:
14-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
14+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
15+
# ⚠️ release-20220309 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
16+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
1517
arch: "x86_64"
16-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
18+
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
19+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
20+
arch: "aarch64"
21+
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
22+
# Fallback to the latest release image.
23+
# Hint: run `limactl prune` to invalidate the cache
24+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
25+
arch: "x86_64"
26+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
1727
arch: "aarch64"
1828

1929
containerd:

examples/default.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ arch: null
1313
# 🟢 Builtin default: null (must be specified)
1414
# 🔵 This file: Ubuntu 21.10 Impish Indri images
1515
images:
16-
# Try to use a local image first.
17-
- location: "~/Downloads/impish-server-cloudimg-amd64.img"
16+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
17+
# ⚠️ release-20220309 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
18+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
1819
arch: "x86_64"
19-
- location: "~/Downloads/impish-server-cloudimg-arm64.img"
20+
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
21+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
2022
arch: "aarch64"
21-
22-
# Download the file from the internet when the local file is missing.
23-
# Hint: run `limactl prune` to invalidate the "current" cache
24-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
23+
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
24+
# Fallback to the latest release image.
25+
# Hint: run `limactl prune` to invalidate the cache
26+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
2527
arch: "x86_64"
26-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
28+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
2729
arch: "aarch64"
2830

2931
# CPUs: if you see performance issues, try limiting cpus to 1.

examples/docker.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,21 @@
88

99
# This example requires Lima v0.8.0 or later
1010
images:
11-
# Hint: run `limactl prune` to invalidate the "current" cache
12-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
11+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
12+
# ⚠️ release-20220309 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
13+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
1314
arch: "x86_64"
14-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
15+
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
16+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
1517
arch: "aarch64"
18+
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
19+
# Fallback to the latest release image.
20+
# Hint: run `limactl prune` to invalidate the cache
21+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
22+
arch: "x86_64"
23+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
24+
arch: "aarch64"
25+
1626
mounts:
1727
- location: "~"
1828
- location: "/tmp/lima"

examples/faasd.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,21 @@
1717
#
1818
# This example requires Lima v0.7.0 or later.
1919

20-
images:
2120
# Image is set to focal (20.04 LTS) for long-term stability
22-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
21+
images:
22+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
23+
# ⚠️ release-20220308 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
24+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-amd64.img"
25+
arch: "x86_64"
26+
digest: "sha256:243157ea0390890d6e60ce5e08e0249b16e23b6b313b63aed50f39f92b020afe"
27+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-arm64.img"
28+
arch: "aarch64"
29+
digest: "sha256:fb2b4efdbf0011bd2a9fd49e9d31efdd252966c889f07b5d246351ec5734a329"
30+
# Fallback to the latest release image.
31+
# Hint: run `limactl prune` to invalidate the cache
32+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img"
2333
arch: "x86_64"
24-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-arm64.img"
34+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img"
2535
arch: "aarch64"
2636

2737
# Mounts are disabled in this example, but can be enabled optionally.

examples/k3s.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,19 @@
1414
# This example requires Lima v0.7.0 or later.
1515

1616
images:
17-
# Hint: run `limactl prune` to invalidate the "current" cache
18-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
17+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
18+
# ⚠️ release-20220309 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
19+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
1920
arch: "x86_64"
20-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
21+
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
22+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
23+
arch: "aarch64"
24+
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
25+
# Fallback to the latest release image.
26+
# Hint: run `limactl prune` to invalidate the cache
27+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
28+
arch: "x86_64"
29+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
2130
arch: "aarch64"
2231

2332
# Mounts are disabled in this example, but can be enabled optionally.

examples/k8s.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,24 @@
1212
# lima-k8s Ready control-plane,master 44s v1.22.3
1313

1414
# This example requires Lima v0.7.0 or later.
15-
images:
15+
1616
# Image is set to focal (20.04 LTS) for long-term stability
17-
# Hint: run `limactl prune` to invalidate the "current" cache
18-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
17+
images:
18+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
19+
# ⚠️ release-20220308 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
20+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-amd64.img"
1921
arch: "x86_64"
20-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-arm64.img"
22+
digest: "sha256:243157ea0390890d6e60ce5e08e0249b16e23b6b313b63aed50f39f92b020afe"
23+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-arm64.img"
2124
arch: "aarch64"
25+
digest: "sha256:fb2b4efdbf0011bd2a9fd49e9d31efdd252966c889f07b5d246351ec5734a329"
26+
# Fallback to the latest release image.
27+
# Hint: run `limactl prune` to invalidate the cache
28+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img"
29+
arch: "x86_64"
30+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img"
31+
arch: "aarch64"
32+
2233
# Mounts are disabled in this example, but can be enabled optionally.
2334
mounts: []
2435
containerd:

examples/nomad.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,24 @@
88
# https://github.com/Roblox/nomad-driver-containerd/tree/master/example
99

1010
# This example requires Lima v0.7.0 or later.
11-
images:
11+
1212
# Image is set to focal (20.04 LTS) for long-term stability
13-
# Hint: run `limactl prune` to invalidate the "current" cache
14-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
13+
images:
14+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
15+
# ⚠️ release-20220308 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
16+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-amd64.img"
1517
arch: "x86_64"
16-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-arm64.img"
18+
digest: "sha256:243157ea0390890d6e60ce5e08e0249b16e23b6b313b63aed50f39f92b020afe"
19+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-arm64.img"
1720
arch: "aarch64"
21+
digest: "sha256:fb2b4efdbf0011bd2a9fd49e9d31efdd252966c889f07b5d246351ec5734a329"
22+
# Fallback to the latest release image.
23+
# Hint: run `limactl prune` to invalidate the cache
24+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img"
25+
arch: "x86_64"
26+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img"
27+
arch: "aarch64"
28+
1829
# Mounts are disabled in this example, but can be enabled optionally.
1930
mounts: []
2031
containerd:

examples/podman.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,21 @@
1212

1313
# This example requires Lima v0.8.0 or later
1414
images:
15-
# Hint: run `limactl prune` to invalidate the "current" cache
16-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
15+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
16+
# ⚠️ release-20220309 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
17+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
1718
arch: "x86_64"
18-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
19+
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
20+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
1921
arch: "aarch64"
22+
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
23+
# Fallback to the latest release image.
24+
# Hint: run `limactl prune` to invalidate the cache
25+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
26+
arch: "x86_64"
27+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
28+
arch: "aarch64"
29+
2030
mounts:
2131
- location: "~"
2232
- location: "/tmp/lima"

examples/ubuntu-lts.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22

33
# This example requires Lima v0.7.0 or later.
44
images:
5-
# Hint: run `limactl prune` to invalidate the "current" cache
6-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
5+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
6+
# ⚠️ release-20220308 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
7+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-amd64.img"
78
arch: "x86_64"
8-
- location: "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-arm64.img"
9+
digest: "sha256:243157ea0390890d6e60ce5e08e0249b16e23b6b313b63aed50f39f92b020afe"
10+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-arm64.img"
911
arch: "aarch64"
12+
digest: "sha256:fb2b4efdbf0011bd2a9fd49e9d31efdd252966c889f07b5d246351ec5734a329"
13+
# Fallback to the latest release image.
14+
# Hint: run `limactl prune` to invalidate the cache
15+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img"
16+
arch: "x86_64"
17+
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img"
18+
arch: "aarch64"
19+
1020
mounts:
1121
- location: "~"
1222
- location: "/tmp/lima"

examples/ubuntu.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# This example requires Lima v0.7.0 or later.
22
images:
3-
# Hint: run `limactl prune` to invalidate the "current" cache
4-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
3+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
4+
# ⚠️ release-20220309 is known to be broken on aarch64: https://github.com/lima-vm/lima/issues/712
5+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
56
arch: "x86_64"
6-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
7+
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
8+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
79
arch: "aarch64"
10+
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
11+
# Fallback to the latest release image.
12+
# Hint: run `limactl prune` to invalidate the cache
13+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
14+
arch: "x86_64"
15+
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
16+
arch: "aarch64"
17+
818
mounts:
919
- location: "~"
1020
- location: "/tmp/lima"

0 commit comments

Comments
 (0)