Re: [PATCH 5/5] Add a questionInitializeDisk method to the rescue interface (#582304)

[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:

And for good measure also add a questionReinitInconsistentLVM method.
---
rescue.py |    8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/rescue.py b/rescue.py
index a19985a..269b9b3 100644
--- a/rescue.py
+++ b/rescue.py
@@ -110,6 +110,14 @@ class RescueInterface(InstallInterfaceBase):
    def resetReinitInconsistentLVMQuestion(self):
        self._inconsistentLVMAnswers = {}

+    def questionInitializeDisk(self, path, description, size, details=""):
+        # Never initialize disks in rescue mode!
+        return False
+
+    def questionReinitInconsistentLVM(self, pv_names=None, lv_name=None, vg_name=None):
+        # Never reinit VG's in rescue mode!
+        return False
+
    def shutdown (self):
        pass



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

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

iEYEARECAAYFAkvGJOkACgkQ5hsjjIy1VkkCxwCghsAsVODVGdOtthByD8xbdhcO
hvQAniNnpPTAjhs66RlEfFXrHRbLe+4n
=/tb1
-----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