File tree Expand file tree Collapse file tree 4 files changed +47
-1
lines changed
pkg/cidata/cidata.TEMPLATE.d/boot Expand file tree Collapse file tree 4 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 8
8
- [ ` almalinux.yaml ` ] ( ./almalinux.yaml ) : AlmaLinux
9
9
- [ ` alpine.yaml ` ] ( ./alpine.yaml ) : ⭐Alpine Linux
10
10
- [ ` archlinux.yaml ` ] ( ./archlinux.yaml ) : ⭐Arch Linux
11
+ - centos.yaml: ~~ CentOS Linux 8~~ ([ EOL] ( https://www.centos.org/centos-linux-eol/ ) )
12
+ - [ ` centos-stream.yaml ` ] ( ./centos-stream.yaml ) : CentOS Stream 8
11
13
- [ ` debian.yaml ` ] ( ./debian.yaml ) : ⭐Debian GNU/Linux
12
14
- [ ` fedora.yaml ` ] ( ./fedora.yaml ) : ⭐Fedora
13
15
- [ ` opensuse.yaml ` ] ( ./opensuse.yaml ) : ⭐openSUSE Leap
@@ -33,7 +35,8 @@ Container orchestration:
33
35
34
36
Others:
35
37
- [ ` vmnet.yaml ` ] ( ./vmnet.yaml ) : ⭐enable [ ` vmnet.framework ` ] ( ../docs/network.md )
36
- - [ ` deprecated/centos-7.yaml ` ] ( ./deprecated/centos-7.yaml ) : [ deprecated] CentOS 7
38
+ - [ ` deprecated/centos-7.yaml ` ] ( ./deprecated/centos-7.yaml ) : [ deprecated] CentOS Linux 7
39
+ - [ ` experimental/centos-stream-9.yaml ` ] ( experimental/centos-stream-9.yaml ) : [ experimental] CentOS Stream 9
37
40
- [ ` experimental/9p.yaml ` ] ( experimental/9p.yaml ) : [ experimental] use 9p mount type
38
41
- [ ` experimental/riscv64.yaml ` ] ( experimental/riscv64.yaml ) : [ experimental] RISC-V
39
42
- [ ` experimental/apptainer.yaml ` ] ( ./experimental/apptainer.yaml ) : [ experimental] [ Apptainer] ( https://apptainer.org/ )
Original file line number Diff line number Diff line change
1
+ # This example requires Lima v0.8.3 or later.
2
+
3
+ images :
4
+ - location : " https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220125.1.x86_64.qcow2"
5
+ arch : " x86_64"
6
+ digest : " sha256:a25560ab39e10594ee7a4a1dadcba7bf303b7c3c41559b4a7fc3c522540a6672"
7
+ - location : " https://cloud.centos.org/centos/8-stream/aarch64/images/CentOS-Stream-GenericCloud-8-20220125.1.aarch64.qcow2"
8
+ arch : " aarch64"
9
+ digest : " sha256:d973991085db0ca8373e1d9948440213cdc76b6acf8f17aa2aed2163c1347cbc"
10
+ mounts :
11
+ - location : " ~"
12
+ - location : " /tmp/lima"
13
+ writable : true
14
+ firmware :
15
+ legacyBIOS : true
16
+ cpuType :
17
+ # Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac
18
+ # https://bugs.launchpad.net/qemu/+bug/1838390
19
+ x86_64 : " Haswell-v4"
Original file line number Diff line number Diff line change
1
+ # This example requires Lima v0.8.3 or later.
2
+
3
+ images :
4
+ - location : " https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20220606.0.x86_64.qcow2"
5
+ arch : " x86_64"
6
+ digest : " sha256:41c8cce7b5ed9ba70f7f103f058bd6320e3462f2dc2c97db84ad7f1c6918a525"
7
+ - location : " https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-20220606.0.aarch64.qcow2"
8
+ arch : " aarch64"
9
+ digest : " sha256:55ef64861d7f9cf5d1407af708fba8ad6015b54bfda81913cc942785091912b0"
10
+ mounts :
11
+ - location : " ~"
12
+ - location : " /tmp/lima"
13
+ writable : true
14
+ firmware :
15
+ legacyBIOS : true
16
+ cpuType :
17
+ # Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac
18
+ # https://bugs.launchpad.net/qemu/+bug/1838390
19
+ x86_64 : " Haswell-v4"
Original file line number Diff line number Diff line change @@ -67,6 +67,11 @@ elif command -v dnf >/dev/null 2>&1; then
67
67
dnf_install_flags=" ${dnf_install_flags} --repo ol8_baseos_latest --repo ol8_codeready_builder"
68
68
elif grep -q " release 8" /etc/system-release; then
69
69
dnf_install_flags=" ${dnf_install_flags} --enablerepo powertools"
70
+ elif grep -q " release 9" /etc/system-release; then
71
+ # shellcheck disable=SC2086
72
+ dnf install ${dnf_install_flags} epel-release
73
+ dnf config-manager --disable epel > /dev/null 2>&1
74
+ dnf_install_flags=" ${dnf_install_flags} --enablerepo epel"
70
75
fi
71
76
# shellcheck disable=SC2086
72
77
dnf install ${dnf_install_flags} ${pkgs}
You can’t perform that action at this time.
0 commit comments