# A template to run lima instance with experimental user-v2 network enabled
# This template requires Lima v0.16.0 or later.
images:
- location: "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img"
  arch: "x86_64"
- location: "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-arm64.img"
  arch: "aarch64"

hostResolver:
  hosts:
    host.docker.internal: host.lima.internal
mounts:
- location: "~"
- location: "/tmp/lima"
  writable: true
networks:
- lima: user-v2
