12
12
13
13
# This example requires Lima v0.8.0 or later
14
14
images :
15
- # Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
16
- - location : " https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-amd64.img"
15
+ - location : " https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/x86_64/images/Fedora-Cloud-Base-36-1.5.x86_64.qcow2"
17
16
arch : " x86_64"
18
- digest : " sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd"
19
- - location : " https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-arm64.img"
20
- arch : " aarch64"
21
- digest : " sha256:66224c7fed99ff5a5539eda406c87bbfefe8af6ff6b47d92df3187832b5b5d4f"
22
- # Fallback to the latest release image.
23
- # Hint: run `limactl prune` to invalidate the cache
24
- - location : " https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
25
- arch : " x86_64"
26
- - location : " https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img"
17
+ digest : " sha256:ca9e514cc2f4a7a0188e7c68af60eb4e573d2e6850cc65b464697223f46b4605"
18
+ - location : " https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/aarch64/images/Fedora-Cloud-Base-36-1.5.aarch64.qcow2"
27
19
arch : " aarch64"
20
+ digest : " sha256:5c0e7e99b0c542cb2155cd3b52bbf51a42a65917e52d37df457d1e9759b37512"
28
21
29
22
mounts :
30
23
- location : " ~"
@@ -39,9 +32,7 @@ provision:
39
32
#!/bin/bash
40
33
set -eux -o pipefail
41
34
command -v podman >/dev/null 2>&1 && exit 0
42
- export DEBIAN_FRONTEND=noninteractive
43
- apt-get update
44
- apt-get install -y podman crun
35
+ dnf -y install podman
45
36
- mode : user
46
37
script : |
47
38
#!/bin/bash
@@ -55,7 +46,7 @@ probes:
55
46
echo >&2 "podman is not installed yet"
56
47
exit 1
57
48
fi
58
- hint : See "/var/log/cloud-init-output.log". in the guest
49
+ hint : See "/var/log/cloud-init-output.log" in the guest
59
50
portForwards :
60
51
- guestSocket : " /run/user/{{.UID}}/podman/podman.sock"
61
52
hostSocket : " {{.Dir}}/sock/podman.sock"
0 commit comments