#5841 upgrade: find_hostname() method should be replaced by api.env.host
Closed: Fixed None Opened 8 years ago by mbasti.

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:

  • 8659357 Replaced find_hostname with api.env.host

Metadata Update from @mbasti:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.4

7 years ago

Login to comment on this ticket.

Metadata