summaryrefslogtreecommitdiffstats
path: root/installmethod.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-04 15:27:30 +0000
committerChris Lumens <clumens@redhat.com>2006-05-04 15:27:30 +0000
commitb15bb5d63e411f94476c7f064fec70e7c4209803 (patch)
tree39e58df2a3b9fe742b1843e9830254fa4f2a57f2 /installmethod.py
parent4599e0880fa17eedb9f733ec3531395bb2910990 (diff)
downloadanaconda-b15bb5d63e411f94476c7f064fec70e7c4209803.tar.gz
anaconda-b15bb5d63e411f94476c7f064fec70e7c4209803.tar.xz
anaconda-b15bb5d63e411f94476c7f064fec70e7c4209803.zip
Finish making non-UI steps pass around the anaconda object.
Diffstat (limited to 'installmethod.py')
-rw-r--r--installmethod.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/installmethod.py b/installmethod.py
index 7ba5ad577..a0eb8aaf9 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -102,14 +102,14 @@ class InstallMethod:
# 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, fsset):
- method.ejectCD()
+def doMethodComplete(anaconda):
+ anaconda.method.ejectCD()
mtab = "/dev/root / ext3 ro 0 0\n"
- for ent in fsset.entries:
+ for ent in anaconda.id.fsset.entries:
if ent.mountpoint == "/":
mtab = "/dev/root / %s ro 0 0\n" %(ent.fsystem.name,)
- f = open(method.rootPath + "/etc/mtab", "w+")
+ f = open(anaconda.rootPath + "/etc/mtab", "w+")
f.write(mtab)
f.close()