summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-02-26 15:41:32 -0500
committerDavid Lehman <dlehman@redhat.com>2009-02-27 15:07:50 -0600
commit972a07b9b4d365333b47683d558db8c29cf4b0c4 (patch)
tree97ce4b136861d26c823f7fab0dfe23fead86f671 /installclass.py
parentc433e6d175e068db7e606f0bf5f8ccfafcae5bc9 (diff)
downloadanaconda-972a07b9b4d365333b47683d558db8c29cf4b0c4.tar.gz
anaconda-972a07b9b4d365333b47683d558db8c29cf4b0c4.tar.xz
anaconda-972a07b9b4d365333b47683d558db8c29cf4b0c4.zip
Fix calls to getAutopartitionBoot, calling the platform's code instead.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/installclass.py b/installclass.py
index bc25c66ca..b74b5bad6 100644
--- a/installclass.py
+++ b/installclass.py
@@ -186,11 +186,11 @@ class BaseInstallClass(object):
from backend import AnacondaBackend
return AnacondaBackend
- def setDefaultPartitioning(self, storage, clear = CLEARPART_TYPE_LINUX,
- doClear = True, useLVM = True):
+ def setDefaultPartitioning(self, storage, platform,
+ clear = CLEARPART_TYPE_LINUX, doClear = True):
autorequests = [ ("/", None, 1024, None, True, True) ]
- bootreq = getAutopartitionBoot(storage)
+ bootreq = platform.setDefaultPartitioning()
if bootreq:
autorequests.extend(bootreq)