summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-16 21:25:48 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-16 21:25:48 +0000
commit7ddd7e521a330c87fe9d1918a780b91949c1b65e (patch)
tree7b2a8859144b24f6a5bfff490a49c94d4a6f8ffe /installmethod.py
parentfbd43c8b0d44dbf304aa7df9174511ba7013e06c (diff)
downloadanaconda-7ddd7e521a330c87fe9d1918a780b91949c1b65e.tar.gz
anaconda-7ddd7e521a330c87fe9d1918a780b91949c1b65e.tar.xz
anaconda-7ddd7e521a330c87fe9d1918a780b91949c1b65e.zip
eject the cdrom from the second stage via a generic cleanup so that it
gets ejected when we tell people to remove their media instead of waiting until the very very end. and now we don't eject on network installs either :)
Diffstat (limited to 'installmethod.py')
-rw-r--r--installmethod.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/installmethod.py b/installmethod.py
index 19b0e0d74..a89c26bf9 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -107,3 +107,12 @@ class InstallMethod:
def unmountCD(self):
pass
+ def ejectCD(self):
+ pass
+
+
+# this handles any cleanup needed for the method. it occurs *very* late
+# (ie immediately before the congratulations screen). main use right now
+# is ejecting the cdrom
+def doMethodComplete(method):
+ method.ejectCD()