summaryrefslogtreecommitdiffstats
path: root/installmethod.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 /installmethod.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 'installmethod.py')
-rw-r--r--installmethod.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/installmethod.py b/installmethod.py
index ede9cf9fc..7d87e3f42 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -82,6 +82,11 @@ class InstallMethod:
def switchMedia(self, mediano, filename=""):
pass
+ # this is very very very late. it's even after kickstart %post.
+ # only use this if you really know what you're doing.
+ def postAction(self, anaconda):
+ pass
+
# this handles any cleanup needed for the method. it occurs *very* late
# (ie immediately before the congratulations screen). main use right now