diff options
author | Chris Lumens <clumens@redhat.com> | 2009-04-03 14:06:46 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-04-03 14:13:31 -0400 |
commit | 752163518a5e4996c688e55a516cf96d1caa7863 (patch) | |
tree | 8149db28a0ec26a12ae84203aaf5202a4ea2a414 /installclasses/fedora.py | |
parent | a1014ff6b140befe4c456ca26e78f78ec7014917 (diff) | |
download | anaconda-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/fedora.py')
-rw-r--r-- | installclasses/fedora.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py index d2ddafa1f..69f198dfc 100644 --- a/installclasses/fedora.py +++ b/installclasses/fedora.py @@ -61,12 +61,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); |