summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-server-install
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:02 +0100
commitc481e40d78023731ec9def5fd367bed8c75cd416 (patch)
treea7485658ec7f108cc7ef27e4275eb199f3a7b0f9 /install/tools/ipa-server-install
parent9ee8e11164d4456345c69ffe6c5a44829e8cba45 (diff)
downloadfreeipa-c481e40d78023731ec9def5fd367bed8c75cd416.tar.gz
freeipa-c481e40d78023731ec9def5fd367bed8c75cd416.tar.xz
freeipa-c481e40d78023731ec9def5fd367bed8c75cd416.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
Diffstat (limited to 'install/tools/ipa-server-install')
-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: