# This template requires Lima v0.11.1 or later.

images:
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
- location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20240429.0.x86_64.qcow2"
  arch: "x86_64"
  digest: "sha256:286633ec3f8cbd2ba151e0e6e4b12bd231e5cb0d7ab99614929626026f5a334b"
- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-20240429.0.aarch64.qcow2"
  arch: "aarch64"
  digest: "sha256:2a27c9c99eacd4e345625e8548ec1af7f6a33e5c377acd2ae1515be7e5ecd336"
# Fallback to the latest release image.
# Hint: run `limactl prune` to invalidate the cache
- location: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2"
  arch: "x86_64"
- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-latest.aarch64.qcow2"
  arch: "aarch64"
mounts:
- location: "~"
- location: "/tmp/lima"
  writable: true
firmware:
  # CentOS Stream 9 still requires legacyBIOS, while AlmaLinux 9 and Rocky Linux 9 do not.
  legacyBIOS: true
