Er, correctly formatted patch :D (I hope) 

Lynn Root 
Associate Software Engineer 
Red Hat 

----- Original Message -----

> Hi all -

> 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

> Lynn Root
> Associate Software Engineer
> Red Hat

> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
From 6ea164205cf60eb8e1f7d3886398dcaf2c599a7f Mon Sep 17 00:00:00 2001
From: Lynn Root <lr...@redhat.com>
Date: Tue, 13 Nov 2012 12:01:35 -0500
Subject: [PATCH] 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
---
 install/tools/ipa-server-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 70e5153..3728dd6 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -746,7 +746,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:
-- 
1.7.10.2

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to