Proxmox: how to deactivate management of /etc/resolv.conf, hosts or any other file in a LXC container
# touch /etc/.pve-ignore.resolv.conf
# rm /etc/resolv.conf
# ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Resources:
- https://forum.proxmox.com/threads/lxc-ubuntu-debian-with-systemd-resolveds-etc-resolv-conf-and-adding-dns-info.110062/
- https://pve.proxmox.com/wiki/Linux_Container (search for ignore.hosts)
