summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-11-30 16:00:54 -0500
committerChris Lumens <clumens@redhat.com>2009-12-11 16:16:18 -0500
commit15e5b5dce995e60e5251ca33a636a7b7e86b59c3 (patch)
treecc92063ea441f9ce478eedec4309d62052b5ca66 /installclass.py
parent3ebabfdcd9c5a61bf8afe57a7ae1e75ad6889b30 (diff)
downloadanaconda-15e5b5dce995e60e5251ca33a636a7b7e86b59c3.tar.gz
anaconda-15e5b5dce995e60e5251ca33a636a7b7e86b59c3.tar.xz
anaconda-15e5b5dce995e60e5251ca33a636a7b7e86b59c3.zip
Allow InstallInterfaces to modify the installation steps.
This will be handy for the filtering interface that does not at all exist in text mode.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py
index 03902c835..a490ce95a 100644
--- a/installclass.py
+++ b/installclass.py
@@ -155,6 +155,9 @@ class BaseInstallClass(object):
if len(availableClasses()) < 2:
dispatch.skipStep("installtype", permanent=1)
+ # allow interface backends to skip certain steps.
+ anaconda.intf.setSteps(anaconda)
+
# modifies the uri from installmethod.getMethodUri() to take into
# account any installclass specific things including multiple base
# repositories. takes a string or list of strings, returns a dict