Skip to content

Commit 4c7376a

Browse files
committed
examples: Add AlmaLinux
Signed-off-by: KOSHIKAWA Kenichi <[email protected]>
1 parent f24302b commit 4c7376a

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Lima is expected to be used on macOS hosts, but can be used on Linux hosts as we
2424

2525
[Intel on ARM](./docs/multi-arch.md)
2626

27-
✅ Various guest Linux distributions: [Alpine](./examples/alpine.yaml), [Arch Linux](./examples/archlinux.yaml), [Debian](./examples/debian.yaml), [Fedora](./examples/fedora.yaml), [openSUSE](./examples/opensuse.yaml), [Rocky](./examples/rocky.yaml), [Ubuntu](./examples/ubuntu.yaml) (default), ...
27+
✅ Various guest Linux distributions: [AlmaLinux](./examples/almalinux.yaml), [Alpine](./examples/alpine.yaml), [Arch Linux](./examples/archlinux.yaml), [Debian](./examples/debian.yaml), [Fedora](./examples/fedora.yaml), [openSUSE](./examples/opensuse.yaml), [Rocky](./examples/rocky.yaml), [Ubuntu](./examples/ubuntu.yaml) (default), ...
2828

2929
Related project: [sshocker (ssh with file sharing and port forwarding)](https://github.com/lima-vm/sshocker)
3030

@@ -248,7 +248,7 @@ Alternatively, you may also directly ssh into the guest: `ssh -p 60022 -i ~/.lim
248248
Yes, it should work, but not regularly tested on ARM (due to lack of CI).
249249

250250
#### "Can I run non-Ubuntu guests?"
251-
Alpine, Arch Linux, Debian, Fedora, openSUSE, and Rocky are also known to work.
251+
AlmaLinux, Alpine, Arch Linux, Debian, Fedora, openSUSE, and Rocky are also known to work.
252252
See [`./examples/`](./examples/).
253253

254254
An image has to satisfy the following requirements:

examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Default: [`default.yaml`](../pkg/limayaml/default.yaml) (Ubuntu, with containerd/nerdctl)
44

55
Distro:
6+
- [`almalinux.yaml`](./almalinux.yaml): AlmaLinux
67
- [`alpine.yaml`](./alpine.yaml): Alpine Linux
78
- [`archlinux.yaml`](./archlinux.yaml): Arch Linux
89
- [`debian.yaml`](./debian.yaml): Debian GNU/Linux

examples/almalinux.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This example requires Lima v0.7.0 or later.
2+
3+
# Hint: If QEMU crashes with error "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac,
4+
# try setting environment variable QEMU_SYSTEM_X86_64="qemu-system-x86_64 -cpu Haswell-v4"
5+
# https://bugs.launchpad.net/qemu/+bug/1838390
6+
images:
7+
- location: "http://repo.almalinux.org/almalinux/8.5/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2"
8+
arch: "x86_64"
9+
digest: "sha512:19623e60216800fb3cd9f564c6d20415adc6d990ba4924fef2a2056035049d2ac2c749c8b71843f62af2955e8b505f4705daacb16c13d3079366b007ad846491"
10+
- location: "http://repo.almalinux.org/almalinux/8.5/cloud/aarch64/images/AlmaLinux-8-GenericCloud-latest.aarch64.qcow2"
11+
arch: "aarch64"
12+
digest: "sha512:bf8c0afaa8aaced047977de73455f09d2867907efece91cbad16dbd3ab454328b432eadccc62cdfc6e529f5147e564c9d97405a2598efde6758151c6fda758d4"
13+
mounts:
14+
- location: "~"
15+
- location: "/tmp/lima"
16+
writable: true
17+
firmware:
18+
legacyBIOS: true

0 commit comments

Comments
 (0)