summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-07-19 00:41:01 -0400
committerRob Crittenden <rcritten@redhat.com>2012-07-19 00:41:01 -0400
commit78810f906873c261277189b279d4da33dbd05eb2 (patch)
treee8a8ba099ad7f4ad123151f8b2add5ea817fc7ff /install
parente578183ea25a40aedf6dcc3e1ee4bcb19b73e70f (diff)
downloadfreeipa-78810f906873c261277189b279d4da33dbd05eb2.tar.gz
freeipa-78810f906873c261277189b279d4da33dbd05eb2.tar.xz
freeipa-78810f906873c261277189b279d4da33dbd05eb2.zip
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
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-replica-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install
index d162b01f2..063eea023 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 ""