summaryrefslogtreecommitdiffstats
path: root/pyanaconda/rescue.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-11-22 10:44:14 -0500
committerChris Lumens <clumens@redhat.com>2011-11-22 10:44:14 -0500
commit600ac915ee2e51cfa14a5cf7b887039a8cd98d79 (patch)
tree3322b5811c864dedf7d14aa5a80f1a3e15eebbf1 /pyanaconda/rescue.py
parentf97534cd0a2966c630c2a2f0455c9d36684ed70a (diff)
downloadanaconda-600ac915ee2e51cfa14a5cf7b887039a8cd98d79.tar.gz
anaconda-600ac915ee2e51cfa14a5cf7b887039a8cd98d79.tar.xz
anaconda-600ac915ee2e51cfa14a5cf7b887039a8cd98d79.zip
Storage should not be interactive when building the device tree.
This patch has the following set backs (for now): (1) All the inconsistent LVM, RAID, and uninitialized disk dialogs are gone. They will not be coming back in this format. Instead, I am planning on prompting for this sort of information on an as-needed basis when disks are selected for installation during the storage spokes. (2) DASDs will not be formatted, though the code remains behind to do so. For now it's still taking an intf argument but it's always going to be None. Again, I'm planning on doing this as-needed. I did not remove the format code because it looks like it will be useful. (3) Encrypted devices will not be added to the device tree because we can't prompt for the key. I'm not yet sure what to do about this, but it will likely take the shape of scanning these devices separately later should they ever need to be used.
Diffstat (limited to 'pyanaconda/rescue.py')
-rw-r--r--pyanaconda/rescue.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py
index b72ba95cd..6fab62d80 100644
--- a/pyanaconda/rescue.py
+++ b/pyanaconda/rescue.py
@@ -107,24 +107,6 @@ class RescueInterface(InstallInterfaceBase):
w.pop()
return passphrase
- def resetInitializeDiskQuestion(self):
- self._initLabelAnswers = {}
-
- def resetReinitInconsistentLVMQuestion(self):
- self._inconsistentLVMAnswers = {}
-
- def questionInitializeDisk(self, path, description, size):
- # 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 questionInitializeDASD(self, c, devs):
- # Special return value to let dasd.py know we're rescue mode
- return 1
-
def shutdown (self):
self.screen.finish()