[PATCH rhel6-branch 6/6] Add advanced storage support to rescue mode (#571808)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds an "advanced" button to the mount / rw, ro, skip
dialog. Pressing this will present the familiar text mode
add zfco / fcoe / iscsi dialog, and when done with that dialog return
to the mount / rw, ro, skip dialog.
---
 rescue.py |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/rescue.py b/rescue.py
index a8e17e7..dd3bf8b 100644
--- a/rescue.py
+++ b/rescue.py
@@ -31,6 +31,7 @@ import os
 import isys
 from storage import mountExistingSystem
 from installinterfacebase import InstallInterfaceBase
+from add_drive_text import addDriveDialog
 import iutil
 import shutil
 import time
@@ -288,16 +289,21 @@ def runRescue(anaconda, instClass):
                   "%s.  You can then make any changes required to your "
                   "system.  If you want to proceed with this step choose "
                   "'Continue'.  You can also choose to mount your file systems "
-                  "read-only instead of read-write by choosing 'Read-Only'."
+                  "read-only instead of read-write by choosing 'Read-Only'.  "
+                  "If you need to activate SAN devices choose 'Advanced'."
                   "\n\n"
                   "If for some reason this process fails you can choose 'Skip' "
                   "and this step will be skipped and you will go directly to a "
                   "command shell.\n\n") % (anaconda.rootPath,),
-                  [_("Continue"), _("Read-Only"), _("Skip")] )
+                  [_("Continue"), _("Read-Only"), _("Skip"), _("Advanced")] )
 
             if rc == string.lower(_("Skip")):
                 runShell(screen)
                 sys.exit(0)
+            elif rc == string.lower(_("Advanced")):
+                addDialog = addDriveDialog(anaconda)
+                addDialog.addDriveDialog(screen)
+                continue
             elif rc == string.lower(_("Read-Only")):
                 readOnly = 1
             else:
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux