I'm trying to transition from older Debian 10 container to a newer Ubuntu 22.04 container. After installing resolvconf everything worked as expected until I rebooted, then I noticed the symlink
Finally I searched here and found a post mentioning to create a
However, I'm puzzled why the symlink is getting obliterated in Ubuntu, but not in Debian? The Debian install does NOT have the ignore file.
Both containers are using DHCP, and the net0 line in the lxc configs are identical (except for the mac addr of course). In the Proxmox config everything under DNS says "use host settings".
Is there some other config somewhere in proxmox or in the container that tells it to check / overwrite the /etc/resolv.conf file on boot???
/etc/resolv.conf -> ../run/resolvconf/resolv.conf
was gone. I spent hours going over and comparing configs between the debian and ubuntu installs and couldn't find anything causing the problem.Finally I searched here and found a post mentioning to create a
/etc/.pve-ignore.resolv.conf
file, which solved my problem!However, I'm puzzled why the symlink is getting obliterated in Ubuntu, but not in Debian? The Debian install does NOT have the ignore file.
Both containers are using DHCP, and the net0 line in the lxc configs are identical (except for the mac addr of course). In the Proxmox config everything under DNS says "use host settings".
Is there some other config somewhere in proxmox or in the container that tells it to check / overwrite the /etc/resolv.conf file on boot???