Re: [PATCH 4/5] Add advanced storage support to rescue mode (#571808)

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack.

On Wed, 14 Apr 2010, Hans de Goede wrote:

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 a98fda8..a19985a 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):
                  "%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:


- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvGJLoACgkQ5hsjjIy1Vkl47QCglkzEClpEmYqiFzFhTUKmzxnL
9hIAn297sWrCRAopHM+Y/T6mu2FPLq4O
=3Vm6
-----END PGP SIGNATURE-----

_______________________________________________
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