From 78810f906873c261277189b279d4da33dbd05eb2 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 19 Jul 2012 00:41:01 -0400 Subject: [PATCH 39/79] Default to no when trying trying to install a replica on wrong server. When installing a replica file on the wrong server we warn that this will likely fail and prompt to Continue. This prompt should default to False, not True. https://fedorahosted.org/freeipa/ticket/2325 --- install/tools/ipa-replica-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index d162b01f281177454240e17140f12b49a24890c4..063eea023b2d4a6d43996210e63f90859d048a0c 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -336,7 +336,7 @@ def main(): if config.host_name != host: try: print "This replica was created for '%s' but this machine is named '%s'" % (config.host_name, host) - if not ipautil.user_input("This may cause problems. Continue?", True): + if not ipautil.user_input("This may cause problems. Continue?", False): sys.exit(0) config.host_name = host print "" -- 1.7.11.2