Skip to main content

Proxmox: how to deactivate management of /etc/resolv.conf, hosts or any other file in a LXC container

Published 1 min readMarkdown
# 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)

No comments yet. Be the first to comment.

More from this blog