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
This commit is contained in:
Lynn Root authored and Martin Kosek committed 2012-12-11 11:04:02 +01:00
1 parent 9ee8e11164
commit c481e40d78
1 file changed
+1 -1
+1 -1
View File
@@ -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: