summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-04-04 20:34:25 +0000
committerJeremy Katz <katzj@redhat.com>2007-04-04 20:34:25 +0000
commita32ad55a624e3585a68c11b4ba8d2c7c8fca0fa3 (patch)
tree365facd0948ac60ffd73cdbc9a760f9b94cbb03b /livecd.py
parent0c02e100c8885845370facfea2323a786716ea1f (diff)
downloadanaconda-a32ad55a624e3585a68c11b4ba8d2c7c8fca0fa3.tar.gz
anaconda-a32ad55a624e3585a68c11b4ba8d2c7c8fca0fa3.tar.xz
anaconda-a32ad55a624e3585a68c11b4ba8d2c7c8fca0fa3.zip
2007-04-04 Jeremy Katz <katzj@redhat.com>
* livecd.py (LiveCDImageMethod.postAction): Unmount filesystems in the live case before continuing on. * installclass.py (BaseInstallClass.postAction): Call the method postAction * installmethod.py (InstallMethod.postAction): Add a method to be called in post action for unmounting things in the live case
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/livecd.py b/livecd.py
index 979d9b0fd..ab80619b1 100644
--- a/livecd.py
+++ b/livecd.py
@@ -84,6 +84,10 @@ class LiveCDImageMethod(installmethod.InstallMethod):
custom_buttons=[_("Exit installer")])
sys.exit(0)
+ def postAction(self, anaconda):
+ anaconda.id.fsset.umountFilesystems(anaconda.rootPath,
+ swapoff = False)
+
def getLiveBlockDevice(self):
return self.osimg