summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/installutils.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-10-13 12:16:15 +0200
committerRob Crittenden <rcritten@redhat.com>2011-10-13 00:56:17 -0400
commitb8eafa43ac529a40e4c47005cb93adc1dec40b13 (patch)
treeead2df0153da0f3d65ac95e3699552ecc16a2839 /ipaserver/install/installutils.py
parent93feb5293236a5d0e22ae15eee35e7b9eb93e6e4 (diff)
downloadfreeipa-b8eafa43ac529a40e4c47005cb93adc1dec40b13.tar.gz
freeipa-b8eafa43ac529a40e4c47005cb93adc1dec40b13.tar.xz
freeipa-b8eafa43ac529a40e4c47005cb93adc1dec40b13.zip
Hostname used by IPA must be a system hostname
Make sure that the hostname IPA uses is a system hostname. If user passes a non-system hostname, update the network settings and system hostname in the same way that ipa-client-install does. This step should prevent various services failures which may not be ready to talk to IPA with non-system hostname. https://fedorahosted.org/freeipa/ticket/1931
Diffstat (limited to 'ipaserver/install/installutils.py')
-rw-r--r--ipaserver/install/installutils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py
index a924e771a..f3ea3bd70 100644
--- a/ipaserver/install/installutils.py
+++ b/ipaserver/install/installutils.py
@@ -160,11 +160,6 @@ def verify_fqdn(host_name, no_host_dns=False, local_hostname=True):
except socket.gaierror:
pass
- system_host_name = socket.gethostname()
- if not (host_name + '.').startswith(system_host_name + '.'):
- print "Warning: The host name '%s' does not match the system host name '%s'." % (host_name, system_host_name)
- print " Some services may not work properly."
-
if no_host_dns:
print "Warning: skipping DNS resolution of host", host_name
return