ronivay / XenOrchestraInstallerUpdater

Xen Orchestra install/update script
GNU General Public License v3.0
1.18k stars 189 forks source link

Appliance - No resolv.conf #53

Closed qwow5 closed 3 years ago

qwow5 commented 3 years ago

Installed latest appliance (10/11/20) on a fresh xcp-ng server and realized that the system was not able to resolve DNS queries.

After further inspection, I discovered that the system had no resolv.conf file present. Adding a resolv.conf file with a valid DNS server fixed this problem.

ronivay commented 3 years ago

Hello,

Did you use static ip-address or dhcp? If latter, does your dhcp server offer a DNS server(s)? If not, it will be missing.

qwow5 commented 3 years ago

Thanks for the quick reply!

I used a static IP. Also, the system had the DNS server in place in /etc/network/interfaces, but it had no effect.

ronivay commented 3 years ago

Hmm okay. I’ll take a look what might have happened.

ronivay commented 3 years ago

Indeed the base was missing resolvconf service so /etc/resolv.conf wasn't populated from interfaces config. This is now fixed and updated image is in place.