diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-05-08 17:13:15 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-05-09 14:04:04 -0400 |
commit | ae641ed31b45a19def11273b13d41658ed0580ce (patch) | |
tree | 3fc48b1d2217cf6e7b513bf79390be2ccd38d987 /ipa-server | |
parent | 9fe649b804fda3e5d49674f8597b8321df03cdbb (diff) | |
download | freeipa-ae641ed31b45a19def11273b13d41658ed0580ce.tar.gz freeipa-ae641ed31b45a19def11273b13d41658ed0580ce.tar.xz freeipa-ae641ed31b45a19def11273b13d41658ed0580ce.zip |
Include information on where to look if a hostname resolves to localhost.
442812
Diffstat (limited to 'ipa-server')
-rw-r--r-- | ipa-server/ipaserver/installutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/installutils.py b/ipa-server/ipaserver/installutils.py index 37ee5d6ab..5eca59714 100644 --- a/ipa-server/ipaserver/installutils.py +++ b/ipa-server/ipaserver/installutils.py @@ -58,7 +58,7 @@ def verify_fqdn(host_name): for a in hostaddr: if a[4][0] == '127.0.0.1' or a[4][0] == '::1': - raise RuntimeError("The IPA Server hostanme cannot resolve to localhost (%s), a routable IP address must be used." % a[4][0]) + raise RuntimeError("The IPA Server hostname cannot resolve to localhost (%s). A routable IP address must be used. Check /etc/hosts to see if %s is an alias for %s" % (a[4][0], host_name, a[4][0])) try: revname = socket.gethostbyaddr(a[4][0])[0] except: |