xcat2 / xcat-core

Code repo for xCAT core packages
Eclipse Public License 1.0
360 stars 171 forks source link

EL9: Adding parsing NM resolv.conf for dns entries #7440

Closed Obihoernchen closed 3 months ago

Obihoernchen commented 4 months ago

Adding parsing NM resolv.conf for dns entries (if there is no lease file).

EL9 does not have /var/lib/dhclient/*$str_inst_nic* anymore. Data is in /var/run/NetworkManager/resolv.conf now.

Try to get DNS config from this new file.

Obihoernchen commented 4 months ago

Might fix https://github.com/xcat2/xcat-core/issues/7407