mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
The IP address provided to ipa-server-install must be local
Compare the configured interfaces with the supplied IP address and optional netmask to determine if the interface is available. https://fedorahosted.org/freeipa/ticket/1175
This commit is contained in:
@@ -597,7 +597,7 @@ def main():
|
||||
# Check we have a public IP that is associated with the hostname
|
||||
hostaddr = resolve_host(host_name)
|
||||
if hostaddr is not None:
|
||||
ip = CheckedIPAddress(hostaddr)
|
||||
ip = CheckedIPAddress(hostaddr, match_local=True)
|
||||
else:
|
||||
if not options.ip_address:
|
||||
print "Unable to resolve IP address for host name"
|
||||
|
||||
Reference in New Issue
Block a user