URL: https://github.com/freeipa/freeipa/pull/387
Author: Akasurde
 Title: #387: Update warning message for ipa server uninstall
Action: opened

PR body:
"""
Fix adds an additional recommendation message for taking backup
of existing data and configuration before proceeding to
ipa server uninstallation procedures.

Fixes https://fedorahosted.org/freeipa/ticket/6548

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/387/head:pr387
git checkout pr387
From e8b41123eeece180b9a072736e33694e74c46394 Mon Sep 17 00:00:00 2001
From: Abhijeet Kasurde <akasu...@redhat.com>
Date: Wed, 11 Jan 2017 11:15:48 +0530
Subject: [PATCH] Update warning message for ipa server uninstall

Fix adds an additional recommendation message for taking backup
of existing data and configuration before proceeding to
ipa server uninstallation procedures.

Fixes https://fedorahosted.org/freeipa/ticket/6548

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
---
 ipaserver/install/server/install.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py
index fc319d9..b71a32f 100644
--- a/ipaserver/install/server/install.py
+++ b/ipaserver/install/server/install.py
@@ -975,7 +975,9 @@ def uninstall_check(installer):
 
     if installer.interactive:
         print("\nThis is a NON REVERSIBLE operation and will delete all data "
-              "and configuration!\n")
+              "and configuration!\nIt is highly recommended to take a backup of "
+              "existing data and configuration using ipa-backup utility "
+              "before proceeding.\n")
         if not user_input("Are you sure you want to continue with the "
                           "uninstall procedure?", False):
             raise ScriptError("Aborting uninstall operation.")
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to