diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-06-13 16:37:40 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-06-20 22:14:10 -0400 |
commit | c329a54c093f856d129cf74528d24d13d1792326 (patch) | |
tree | d7d92885a4248acc1c3ca16a6741e9a399434d26 /install/tools | |
parent | d0af8b28d7552b301d5d2c1af93ed1604dc5df8f (diff) | |
download | freeipa-c329a54c093f856d129cf74528d24d13d1792326.tar.gz freeipa-c329a54c093f856d129cf74528d24d13d1792326.tar.xz freeipa-c329a54c093f856d129cf74528d24d13d1792326.zip |
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
Diffstat (limited to 'install/tools')
-rwxr-xr-x | install/tools/ipa-server-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 886d391a2..7c81dbec6 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -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" |