summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-21 13:32:48 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 15:07:56 -0500
commit36be32c25452a08b5950f991d61013b91e9e5771 (patch)
tree7d15cd1d8177c79179effe050e6f7c72b020f4cb /anaconda
parent37141a9a3fabaac4d7d525fa87f9c9983977016b (diff)
downloadanaconda-36be32c25452a08b5950f991d61013b91e9e5771.tar.gz
anaconda-36be32c25452a08b5950f991d61013b91e9e5771.tar.xz
anaconda-36be32c25452a08b5950f991d61013b91e9e5771.zip
Last attribute out of InstallData, please turn out the lights.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda7
1 files changed, 4 insertions, 3 deletions
diff --git a/anaconda b/anaconda
index 7a49e8af4..80dab6684 100755
--- a/anaconda
+++ b/anaconda
@@ -445,6 +445,7 @@ class Anaconda(object):
self.dir = None
self.dispatch = dispatch.Dispatcher(self)
self.displayMode = None
+ self.extraModules = []
self.firewall = firewall.Firewall()
self.id = None
self._instClass = None
@@ -466,6 +467,7 @@ class Anaconda(object):
self.rootParts = None
self.rootPath = "/mnt/sysimage"
self.security = security.Security()
+ self.simpleFilter = True
self.stage2 = None
self._storage = None
self._timezone = None
@@ -843,7 +845,6 @@ if __name__ == "__main__":
# is imported
iutil.writeRpmPlatform()
- extraModules = [] # XXX: this would be better as a callback
graphical_failed = 0
vncS = vnc.VncServer() # The vnc Server object.
vncS.anaconda = anaconda
@@ -908,7 +909,7 @@ if __name__ == "__main__":
if opts.module:
for mod in opts.module:
(path, name) = string.split(mod, ":")
- extraModules.append((path, name))
+ anaconda.extraModules.append((path, name))
if opts.vnc:
flags.usevnc = 1
@@ -1119,7 +1120,7 @@ if __name__ == "__main__":
runVNC()
doStartupX11Actions(opts.runres)
- anaconda.id = anaconda.instClass.installDataClass(anaconda, extraModules)
+ anaconda.id = anaconda.instClass.installDataClass(anaconda)
anaconda.instClass.setInstallData(anaconda)
# comment out the next line to make exceptions non-fatal