Comment 0 for bug 1713747

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

For networked systems, for instance booting with an iSCSI root, dhclient writes an output file in the form of /run/net-<iface>.conf that contains data for other programs to consume. This allows, for instance, open-iscsi to get the right information and properly connect to the server to mount the root filesystem.

It is common for DHCP servers to only provide a domain name value, and no search domains. In this case, isc-dhcp doesn't currently write DOMAINSEARCH, but people may wish to use short names to resolve things (such as in iSCSI server).

In the not-initramfs dhclient-script, when domain_search isn't provided but domain_name is, domain_name is written to the search string. If both are provided, domain_search is written. The initramfs enter hook should do the same.