# if using specific environment, add `arch` here to specify the architecture arch:"x86_64"
# ubuntu-22.04.yaml example from lima official (here is all the same as the official example) 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/22.04/release-20221214/ubuntu-22.04-server-cloudimg-amd64.img" arch:"x86_64" digest:"sha256:b9a5a216901c34742ffe662b691db114269aaa25c90eb77f3ef4dd4f818e78a3" -location:"https://cloud-images.ubuntu.com/releases/22.04/release-20221214/ubuntu-22.04-server-cloudimg-arm64.img" arch:"aarch64" digest:"sha256:b27163374c834c770e8db023fb21205529cea494257bf5ba866b8b1ae5969164" # Fallback to the latest release image. # Hint: run `limactl prune` to invalidate the cache -location:"https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img" arch:"x86_64" -location:"https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img" arch:"aarch64"
# mount the host's $HOME directory to the guest's /home/ubuntu # if need writable, add `writable: true` under the mount mounts: -location:"~" -location:"/tmp/lima" writable:true