Hi Erich: Should we revert the changes to SystemInstaller to handle the search domain? Creating a per image /etc/dhclient.conf seems like the "correct" way to do this anyway.
Thanks in advance, Bernard > -----Original Message----- > From: Ted Powell [mailto:[EMAIL PROTECTED] On Behalf > Of Ted Powell > Sent: Tuesday, July 04, 2006 20:44 > To: Bernard Li > Cc: [email protected] > Subject: Re: [Oscar-devel] Issue with dhcpd.conf > > On Tue, Jul 04, 2006 at 08:12:11PM -0700, Bernard Li wrote: > > Hi Ted: > > > > Thanks for the information. > > > > I looked into /etc/dhclient.conf and it seems that the > "append" statement does exactly what I want. So after I "fix > up" /etc/dhcpd.conf (removing the duplicate in the host > entries), I put the following in my image's /etc/dhclient.conf: > > > > append domain-name " openclustergroup.org" > > > > (note the space between the " and openclustergroup... > otherwise your original domain-name will be merged with the new one) > > > > When the node is booted up, here's what /etc/resolv.conf looks like: > > > > This is what I need, and seems like a better approach for > me and other users. One could also look into using "prepend" > and "supersede". For more information, please refer to the > man page of dhclient.conf. > > Fortunately, I checked incoming mail before I began typing in > essentially the same advice. > > I had Googled dhclient-exit-hooks resolv.conf search > and found a page where someone wrote: Or you can fix it properly by > editing dhclient.conf and adding a supersede or prepend statement. > > This looks like the way to go for any sort of tweak that is to be the > same across all the nodes. > > > -- > Ted Powell <[EMAIL PROTECTED]> http://psg.com/~ted/ > "If you don't look, you don't know." > Dr. Sam Ting, Nobel laureate experimental physicist. > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
