Issue 49221 - During an upgrade the provided localhost name is ignored
Description: If the FullMachine name, or localhost, is provided in an INF
it is ignored during the upgrade the value of nsslapd-localhost
from the current server is used instead. We should only override
the localhost value if it is missing.
https://pagure.io/389-ds-base/issue/49221
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 8979cc699a7bd0459a9285f66dca472e8108b1ad)