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 <xcat-user@lists.sourceforge.net>
Sent: Wednesday, December 14, 2022 6:05 PM
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc: SOPORTE MODEMAT <soporte.mode...@epn.edu.ec>
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
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to