lima-vm resolv.conf
From newer ubuntu cannot resolve “.local” domain w/ default resolv.conf. Then here is the lima-vm’s configuration, I wrote. (too long, so just “provision” part only.)
provision:
- mode: system
script: |
#!/bin/bash
set -eux -o pipefail
sed -i"" -e "s/.*DNSStubListener=yes/DNSStubListener=no/" /etc/systemd/resolved.conf
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
systemctl restart systemd-resolved