Skip to content

Commit

Permalink
Add examples and documentation for CentOS Stream
Browse files Browse the repository at this point in the history
Explain "what happened" with centos.yaml vs centos-stream.yaml

Make experimental example for stream9, next to current stream8.

	quay.io/centos/centos:stream8

	quay.io/centos/centos:stream9

Signed-off-by: Anders F Björklund <[email protected]>
  • Loading branch information
afbjorklund committed Jun 15, 2022
1 parent de546da commit a1f172a
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Distro:
- [`almalinux.yaml`](./almalinux.yaml): AlmaLinux
- [`alpine.yaml`](./alpine.yaml): ⭐Alpine Linux
- [`archlinux.yaml`](./archlinux.yaml): ⭐Arch Linux
- centos.yaml: ~~CentOS Linux 8~~ ([EOL](https://www.centos.org/centos-linux-eol/))
- [`centos-stream.yaml`](./centos-stream.yaml): CentOS Stream 8
- [`debian.yaml`](./debian.yaml): ⭐Debian GNU/Linux
- [`fedora.yaml`](./fedora.yaml): ⭐Fedora
- [`opensuse.yaml`](./opensuse.yaml): ⭐openSUSE Leap
Expand All @@ -33,7 +35,8 @@ Container orchestration:

Others:
- [`vmnet.yaml`](./vmnet.yaml): ⭐enable [`vmnet.framework`](../docs/network.md)
- [`deprecated/centos-7.yaml`](./deprecated/centos-7.yaml): [deprecated] CentOS 7
- [`deprecated/centos-7.yaml`](./deprecated/centos-7.yaml): [deprecated] CentOS Linux 7
- [`experimental/centos-stream-9.yaml`](experimental/centos-stream-9.yaml): [experimental] CentOS Stream 9
- [`experimental/9p.yaml`](experimental/9p.yaml): [experimental] use 9p mount type
- [`experimental/riscv64.yaml`](experimental/riscv64.yaml): [experimental] RISC-V
- [`experimental/apptainer.yaml`](./experimental/apptainer.yaml): [experimental] [Apptainer](https://apptainer.org/)
Expand Down
19 changes: 19 additions & 0 deletions examples/centos-stream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This example requires Lima v0.8.3 or later.

images:
- location: "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220125.1.x86_64.qcow2"
arch: "x86_64"
digest: "sha256:a25560ab39e10594ee7a4a1dadcba7bf303b7c3c41559b4a7fc3c522540a6672"
- location: "https://cloud.centos.org/centos/8-stream/aarch64/images/CentOS-Stream-GenericCloud-8-20220125.1.aarch64.qcow2"
arch: "aarch64"
digest: "sha256:d973991085db0ca8373e1d9948440213cdc76b6acf8f17aa2aed2163c1347cbc"
mounts:
- location: "~"
- location: "/tmp/lima"
writable: true
firmware:
legacyBIOS: true
cpuType:
# Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac
# https://bugs.launchpad.net/qemu/+bug/1838390
x86_64: "Haswell-v4"
19 changes: 19 additions & 0 deletions examples/experimental/centos-stream-9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This example requires Lima v0.8.3 or later.

images:
- location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20220606.0.x86_64.qcow2"
arch: "x86_64"
digest: "sha256:41c8cce7b5ed9ba70f7f103f058bd6320e3462f2dc2c97db84ad7f1c6918a525"
- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-20220606.0.aarch64.qcow2"
arch: "aarch64"
digest: "sha256:55ef64861d7f9cf5d1407af708fba8ad6015b54bfda81913cc942785091912b0"
mounts:
- location: "~"
- location: "/tmp/lima"
writable: true
firmware:
legacyBIOS: true
cpuType:
# Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac
# https://bugs.launchpad.net/qemu/+bug/1838390
x86_64: "Haswell-v4"

0 comments on commit a1f172a

Please sign in to comment.