On 04/04/2009 01:51 AM, matt whiteley wrote:
On Apr 3, 2009, at 3:54 PM, matt whiteley wrote:
This host is in a profile that doesn't have 'name servers' or 'name servers search' defined since all hosts using it use dhcp. I will add some settings and reload to test if that fixes things.
Yes, that did indeed fix things. The host uses the dhcp supplied info until the snippet runs and then uses the profile info. Upon boot dhclient again writes out the /etc/resolv.conf. If this is the desired behavior maybe the description 'Name servers, space delimited, if not provided by DHCP' should change to suggest they are always included for possible use during kickstarts?
I think this is a bug, the code should be changed so that it doesn't touch resolv.conf if nameservers and NS-search are empty. Could you file a trac item on this?
Jasper