The method find_hostname in upgrade is parsing "/etc/httpd/conf.d/ipa-rewrite.conf" file to get hostname. This value is used everywhere in upgrade.
I don't think that using this method is save or efficient, since we have api.env.host variable that provides the hostname.
Introduced in 4699fc5, 8e7561c
IMO
master:
Metadata Update from @mbasti: - Issue assigned to someone - Issue set to the milestone: FreeIPA 4.4
Login to comment on this ticket.