diff --git a/examples/experimental/armv7l.yaml b/examples/experimental/armv7l.yaml index 609dba35cd8..98db47aee70 100644 --- a/examples/experimental/armv7l.yaml +++ b/examples/experimental/armv7l.yaml @@ -1,20 +1,24 @@ -# This example requires Lima v0.7.0 or later. +# This example requires Lima v0.17.0 or later. arch: "armv7l" +cpus: 1 +memory: "2GiB" images: -# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. -- location: "https://cloud-images.ubuntu.com/releases/23.04/release-20230729/ubuntu-23.04-server-cloudimg-armhf.img" - arch: "armv7l" - digest: "sha256:ab0a4f4e9538694f6edc0e2f8bc18923ec364333dd2883377949d99e2f4788c6" -# Fallback to the latest release image. -# Hint: run `limactl prune` to invalidate the cache +# EFISTUB seems to be broken for qemu-system-arm, so kernel and initrd have to be directly passed to QEMU. +# https://github.com/lima-vm/lima/issues/1701 - location: "https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-armhf.img" arch: "armv7l" + kernel: + location: "https://cloud-images.ubuntu.com/releases/23.04/release/unpacked/ubuntu-23.04-server-cloudimg-armhf-vmlinuz-lpae" + cmdline: "root=LABEL=cloudimg-rootfs ro" + initrd: + location: "https://cloud-images.ubuntu.com/releases/23.04/release/unpacked/ubuntu-23.04-server-cloudimg-armhf-initrd-generic-lpae" mounts: - location: "~" - location: "/tmp/lima" writable: true +mountType: "9p" # We do not have arm-v7 binaries of containerd containerd: