gstanden / orabuntu-lxc

Developer and User Guide
https://gstanden.github.io/
GNU General Public License v3.0
46 stars 15 forks source link

/etc/resolv.conf in DNS/DHCP container needs cleanup #80

Closed gstanden closed 3 years ago

gstanden commented 7 years ago

DNS/DHCP container is getting assigned this for /etc/resolv.conf:

root@olive:/etc/bind# cat /etc/resolv.conf

Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

nameserver 10.207.39.2 search lxd nameserver 10.207.29.2 search urdomain1.com urdomain2.com root@olive:/etc/bind#

But needs to look like this

root@olive:/etc/bind# cat /etc/resolv.conf

Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

nameserver 10.207.39.2 nameserver 10.207.29.2 search urdomain1.com urdomain2.com gns1.urdomain1.com root@olive:/etc/bind#

gstanden commented 3 years ago

Done.