From 752163518a5e4996c688e55a516cf96d1caa7863 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Fri, 3 Apr 2009 14:06:46 -0400 Subject: 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. --- installclasses/rhel.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'installclasses/rhel.py') 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 -- cgit