summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-04 18:00:21 -0500
committerDavid Lehman <dlehman@redhat.com>2009-03-04 17:30:05 -0600
commit4503335c6f5d33bcb236da1757123dde73a842bc (patch)
treeefb0a37d63ac1216d1f701caab50752837fa0e25 /installclasses
parentf5071319ad21037333be08c0a43b9a42b24e2c13 (diff)
downloadanaconda-4503335c6f5d33bcb236da1757123dde73a842bc.tar.gz
anaconda-4503335c6f5d33bcb236da1757123dde73a842bc.tar.xz
anaconda-4503335c6f5d33bcb236da1757123dde73a842bc.zip
Make kickstart work against the new partitioning code.
This doesn't atually mean kickstart allows you to specify partitions and clearpart. However, you can leave out partitioning information from your kickstart file, specify it from the UI, and get an install to complete.
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/fedora.py9
-rw-r--r--installclasses/rhel.py9
2 files changed, 8 insertions, 10 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index c183a6eea..bfd9a5556 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -62,11 +62,10 @@ class InstallClass(BaseInstallClass):
def setInstallData(self, anaconda):
BaseInstallClass.setInstallData(self, anaconda)
- if not anaconda.isKickstart:
- BaseInstallClass.setDefaultPartitioning(self,
- anaconda.id.storage,
- anaconda.platform,
- CLEARPART_TYPE_LINUX)
+ BaseInstallClass.setDefaultPartitioning(self,
+ anaconda.id.storage,
+ anaconda.platform,
+ CLEARPART_TYPE_LINUX)
def setSteps(self, anaconda):
BaseInstallClass.setSteps(self, anaconda);
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index 95bacdf47..521792862 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -87,11 +87,10 @@ class InstallClass(BaseInstallClass):
def setInstallData(self, anaconda):
BaseInstallClass.setInstallData(self, anaconda)
- if not anaconda.isKickstart:
- BaseInstallClass.setDefaultPartitioning(self,
- anaconda.id.storage,
- anaconda.platform,
- CLEARPART_TYPE_LINUX)
+ BaseInstallClass.setDefaultPartitioning(self,
+ anaconda.id.storage,
+ anaconda.platform,
+ CLEARPART_TYPE_LINUX)
def setSteps(self, anaconda):
dispatch = anaconda.dispatch