This can be achieved by adding each search domain as a network table entry. See my post from April 3, 2022.
> On 12/20/2022 7:09 AM Christian Caruthers <[email protected]> wrote: > > > > The only way I know of is through a custom postscript. > > > NOTE that with RHEL/CentOS/etc. 8.x resolv.conf is managed by > NetworkManager. To avoid it being accidentally overwritten, you can rename it > to resolv.somethingelse and lilnks resolv.conf to that. NetworkManager will > not modify a symlink. > > > Regards, > > Christian Caruthers > > Lenovo Professional Services > > Mobile: 757-289-9872 > > > From: SOPORTE MODEMAT via xCAT-user <[email protected]> > Sent: Wednesday, December 14, 2022 6:05 PM > To: xCAT Users Mailing list <[email protected]> > Cc: SOPORTE MODEMAT <[email protected]> > Subject: [External] [xcat-user] search in resolv.conf > Importance: High > > > Hi. > > > > Please tell me how can I get the “search domain” populated in the network > interfaces or “search” in the /etc/resolv.conf in each compute node, I am > using xcat 2.16.4 on Centos 8.4. All the information about domain, forwarders > ands nameserver are in the networks and site table. > > > > Thank you in advance for your help. > > > > Kind regards. > > > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user >
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
