Fixes #12083 - Set nic domain only on full match of fqdn domain
If there are domains that have subdomains, setting a host name that contains an existing domain name will sometimes choose the wrong domain for the host. This patch makes the nic set the domain only if there is complete match for the domain part of the fqdn.
Fixes #12083 - Set nic domain only on full match of fqdn domain
If there are domains that have subdomains, setting a host name that
contains an existing domain name will sometimes choose the wrong
domain for the host. This patch makes the nic set the domain only
if there is complete match for the domain part of the fqdn.