Skip to content

Commit d87e89f

Browse files
authored
Merge pull request #876 from dmage/podman-4
Use Fedora 36 to get podman 4
2 parents 44454dd + 6cc3f3f commit d87e89f

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

examples/podman.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,12 @@
1212

1313
# This example requires Lima v0.8.0 or later
1414
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"
1716
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"
2719
arch: "aarch64"
20+
digest: "sha256:5c0e7e99b0c542cb2155cd3b52bbf51a42a65917e52d37df457d1e9759b37512"
2821

2922
mounts:
3023
- location: "~"
@@ -39,9 +32,7 @@ provision:
3932
#!/bin/bash
4033
set -eux -o pipefail
4134
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
4536
- mode: user
4637
script: |
4738
#!/bin/bash
@@ -55,7 +46,7 @@ probes:
5546
echo >&2 "podman is not installed yet"
5647
exit 1
5748
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
5950
portForwards:
6051
- guestSocket: "/run/user/{{.UID}}/podman/podman.sock"
6152
hostSocket: "{{.Dir}}/sock/podman.sock"

0 commit comments

Comments
 (0)