Thanks for being here. I have some cloned images being used to spin up additional app servers.
I want to use manual network settings and bypass the network contextualization contextualization. something is celaring my settings in resolv.conf on boot. I would like to disable that on these images.
Is that possible and what is the easy way?
FYI the templates do not have network contextualization enabled, but the image clones do. I want to remove whatever is doing that on the OS side of the house.
I believe you are using Ubuntu. Starting from Ubuntu 12.04, the resolve.conf is auto generated by “resolvconf” package. You need update necessary DNS information in the /etc/network/interfaces file itself and the “resolvconf” package will generate the /etc/resolv.conf accordingly.
auto eth0 iface eth0 inet static address 10.1.1.10 netmask 255.255.255.0 network 10.1.1.0 broadcast 10.1.1.255 gateway 10.1.1.1 dns-nameservers 10.2.2.2 10.2.3.2 dns-search domain.com
so perfect thank you very much. Good times.