Skip to main content

Command Palette

Search for a command to run...

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

Published
1 min readView as Markdown
# 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)

More from this blog

Mensah David Assigbi's personal IT blog

28 posts