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
This commit is contained in:
Martin Kosek
2011-10-13 12:16:15 +02:00
committed by Rob Crittenden
parent 9bff6cb8a9
commit 77cc5e0246
4 changed files with 27 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ The kerberos master password (normally autogenerated)
The password for the IPA admin user
.TP
\fB\-\-hostname\fR=\fIHOST_NAME\fR
The fully\-qualified DNS name of this server
The fully\-qualified DNS name of this server. If the hostname does not match system hostname, the system hostname will be updated accordingly to prevent service failures.
.TP
\fB\-\-ip\-address\fR=\fIIP_ADDRESS\fR
The IP address of this server. If this address does not match the address the host resolves to and --setup-dns is not selected the installation will fail.