summaryrefslogtreecommitdiffstats
path: root/installclasses/rhel.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-03 14:06:46 -0400
committerChris Lumens <clumens@redhat.com>2009-04-03 14:13:31 -0400
commit752163518a5e4996c688e55a516cf96d1caa7863 (patch)
tree8149db28a0ec26a12ae84203aaf5202a4ea2a414 /installclasses/rhel.py
parenta1014ff6b140befe4c456ca26e78f78ec7014917 (diff)
downloadanaconda-752163518a5e4996c688e55a516cf96d1caa7863.tar.gz
anaconda-752163518a5e4996c688e55a516cf96d1caa7863.tar.xz
anaconda-752163518a5e4996c688e55a516cf96d1caa7863.zip
If no partitioning commands are given, apply the UI selections (#490880).
First, always apply the default partitioning scheme in kickstart installs. Then, always run clearPartitions since it knows best. Finally, if any of the various kickstart partitioning commands are given, unset doAutoPart so the user-provided partitioning scheme takes effect.
Diffstat (limited to 'installclasses/rhel.py')
-rw-r--r--installclasses/rhel.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index da25946f3..521792862 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -87,12 +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