Pushed this under the one-liner rule.
From 78810f906873c261277189b279d4da33dbd05eb2 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Thu, 19 Jul 2012 00:41:01 -0400
Subject: [PATCH] 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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/install/tools/ipa-replica-install
b/install/tools/ipa-replica-install
index d162b01..063eea0 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.6.2.5
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel