a3abae8 Simplify update code

Authored and Committed by cheimes 3 years ago
    Simplify update code
    
    resolve_ip_addresses_nss(host) is equivalent to
    get_server_ip_address(api.env.host, True, False, []). The function
    get_server_ip_address() is designed to perform interactive checks that
    should not be triggered in automatic upgrade code.
    
    Related: https://pagure.io/freeipa/issue/8275
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>