Skip to content

Commit 9be3b9a

Browse files
authored
Merge pull request #3047 from AkihiroSuda/centos-stream-10
templates: add centos-stream-10
2 parents 5f31a5f + 497b8e2 commit 9be3b9a

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

templates/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Distro:
1717
- [`alpine-iso`](./alpine-iso.yaml): ☆Alpine Linux (ISO9660 image). Compatible with the `alpine` template used in Lima prior to v1.0.
1818
- [`archlinux`](./archlinux.yaml): ☆Arch Linux
1919
- [`centos-stream-9`](./centos-stream-9.yaml), `centos-stream.yaml`: CentOS Stream 9
20+
- [`centos-stream-10`](./centos-stream-10.yaml): CentOS Stream 10
2021
- [`debian-11`](./debian-11.yaml): Debian GNU/Linux 11(bullseye)
2122
- [`debian-12`](./debian-12.yaml), `debian.yaml`: ⭐Debian GNU/Linux 12(bookworm)
2223
- [`fedora`](./fedora.yaml): ⭐Fedora

templates/centos-stream-10.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# minimumLimaVersion: "1.0.3"
2+
3+
images:
4+
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
5+
- location: "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-20241216.0.x86_64.qcow2"
6+
arch: "x86_64"
7+
digest: "sha256:94090f04d517b6b2d8e95f949ceb861fd5cd0a6f2076c20c906e44c6c43f566c"
8+
- location: "https://cloud.centos.org/centos/10-stream/aarch64/images/CentOS-Stream-GenericCloud-10-20241216.0.aarch64.qcow2"
9+
arch: "aarch64"
10+
digest: "sha256:1034f42dc140e5d4f517458ad584dcb03fdbefc3d5721946c79070b4fe2d796e"
11+
# Fallback to the latest release image.
12+
# Hint: run `limactl prune` to invalidate the cache
13+
- location: "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-latest.x86_64.qcow2"
14+
arch: "x86_64"
15+
- location: "https://cloud.centos.org/centos/10-stream/aarch64/images/CentOS-Stream-GenericCloud-10-latest.aarch64.qcow2"
16+
arch: "aarch64"
17+
mountTypesUnsupported: ["9p"]
18+
mounts:
19+
- location: "~"
20+
- location: "/tmp/lima"
21+
writable: true
22+
firmware:
23+
# CentOS Stream 10 still requires legacyBIOS
24+
# https://issues.redhat.com/browse/CS-2672
25+
legacyBIOS: true
26+
cpuType:
27+
# When emulating Intel on ARM hosts, Lima uses the "qemu64" CPU by default (https://github.com/lima-vm/lima/pull/494).
28+
# However, CentOS Stream 10 kernel reboots indefinitely due to lack of the support for x86_64-v3 instructions.
29+
#
30+
# On native Intel hosts Lima uses the "host" CPU by default, but it doesn't seem to work either,
31+
# at least on MacBook Pro 2020 (Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz), due to
32+
# `invalid opcode: 0000` in `chacha_8block_xor_avx512vl`.
33+
# https://github.com/lima-vm/lima/issues/3022
34+
x86_64: "Haswell-v4"

0 commit comments

Comments
 (0)