mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix wording of error message.
ticket 1009
This commit is contained in:
parent
509c772f13
commit
b29bd47273
@ -115,7 +115,7 @@ def verify_fqdn(host_name,no_host_dns=False):
|
||||
|
||||
for a in hostaddr:
|
||||
if a[4][0] == '127.0.0.1' or a[4][0] == '::1':
|
||||
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]))
|
||||
raise RuntimeError("The IPA Server hostname must not 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:
|
||||
resaddr = a[4][0]
|
||||
revname = socket.gethostbyaddr(a[4][0])[0]
|
||||
|
Loading…
Reference in New Issue
Block a user