Skip to content

Commit fedacd2

Browse files
authored
Merge pull request #1593 from afbjorklund/centos-stream-latest
Add fallback for the centos-stream image
2 parents 56a5d9d + bdad4b0 commit fedacd2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/centos-stream-9.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
# This example requires Lima v0.11.1 or later.
22

33
images:
4+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
45
- location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20230523.0.x86_64.qcow2"
56
arch: "x86_64"
67
digest: "sha256:47dca0f014aff27bad5a4156f7ce3168fc339546d6e66bfaf52617a773f05bf0"
78
- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-20230523.0.aarch64.qcow2"
89
arch: "aarch64"
910
digest: "sha256:6c8566fe05b3541956e2ff0f72b41158b92751be9a4d68ac977e9d7fe22a6db6"
11+
# Fallback to the latest release image.
12+
# Hint: run `limactl prune` to invalidate the cache
13+
- location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2"
14+
arch: "x86_64"
15+
- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-latest.aarch64.qcow2"
16+
arch: "aarch64"
1017
mounts:
1118
- location: "~"
1219
- location: "/tmp/lima"

0 commit comments

Comments
 (0)