summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLynn Root <lroot@redhat.com>2012-11-13 12:01:35 -0500
committerMartin Kosek <mkosek@redhat.com>2012-12-11 11:04:12 +0100
commit39ec75bef9077c0e520708ae22b9a9196b68105e (patch)
treeb4bc73b0636281d7b11a5e7aed005cdcbc50db5c
parent90a3adf53b927052a8738ed08865a33f8862140e (diff)
downloadfreeipa-39ec75bef9077c0e520708ae22b9a9196b68105e.tar.gz
freeipa-39ec75bef9077c0e520708ae22b9a9196b68105e.tar.xz
freeipa-39ec75bef9077c0e520708ae22b9a9196b68105e.zip
Fixed the catch of the hostname option during ipa-server-install
Originally ipa-server-install would still prompt for the hostname even if it's supplied in the initial installation command. Ticket: https://fedorahosted.org/freeipa/ticket/2692
-rwxr-xr-xinstall/tools/ipa-server-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index dcf751904..9bb404615 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -760,7 +760,7 @@ def main():
host_default = get_fqdn()
try:
- if options.unattended:
+ if options.unattended or options.host_name:
verify_fqdn(host_default,options.no_host_dns)
host_name = host_default
else: