I'm pxe booting a node (Ubuntu 11.10). The image of the node is created with debootstrap. Works great. Everything is loaded. When I login to the node I see that /etc/resolv.conf is empty. In the base image it's empty also but I expected the ubuntu boot process to fill it with a nameserver.
When, on the node, I do sudo service networkinging {start,restart} nothing changes to etc/resolv.conf. When I do a dhclient I get: RNETLINK answers: File exists but /etc/resolv.conf then contains the correct nameserver from my dhcp-server.
I'd rather not add static entries to /etc/network/interfaces because I don't know if all the nodes have the same configuration. I'd rather have this more dynamic. If I'd add eth0 with a dhcp option to /etc/network/interfaces it works.
What am I doing wrong? Why doesn't ubuntu fill the /etc/resolv.conf on boot? Is there a network-manager kind of package for the commandline without too many dependencies?