On Wed, 2009-03-11 at 16:32 -0400, Chris Lumens wrote: > Turns out we don't want to do this because it'll result in the default autopart > scheme getting used regardless of what other partitioning commands are > specified. I don't think this would be a problem given your other changes unless setDefaultPartitioning also sets Storage.doAutoPart to True. I guess if you encounter 'autopart' during parsing you probably call setDefaultPartitioning to set it up? Dave > --- > installclasses/fedora.py | 9 +++++---- > installclasses/rhel.py | 10 ++++++---- > 2 files changed, 11 insertions(+), 8 deletions(-) > > diff --git a/installclasses/fedora.py b/installclasses/fedora.py > index 087e2d3..d2ddafa 100644 > --- a/installclasses/fedora.py > +++ b/installclasses/fedora.py > @@ -62,10 +62,11 @@ class InstallClass(BaseInstallClass): > def setInstallData(self, anaconda): > BaseInstallClass.setInstallData(self, anaconda) > > - BaseInstallClass.setDefaultPartitioning(self, > - anaconda.id.storage, > - anaconda.platform, > - CLEARPART_TYPE_LINUX) > + if not anaconda.isKickstart: > + 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 5217928..da25946 100644 > --- a/installclasses/rhel.py > +++ b/installclasses/rhel.py > @@ -87,10 +87,12 @@ class InstallClass(BaseInstallClass): > > def setInstallData(self, anaconda): > BaseInstallClass.setInstallData(self, anaconda) > - BaseInstallClass.setDefaultPartitioning(self, > - anaconda.id.storage, > - anaconda.platform, > - CLEARPART_TYPE_LINUX) > + > + if not anaconda.isKickstart: > + BaseInstallClass.setDefaultPartitioning(self, > + anaconda.id.storage, > + anaconda.platform, > + CLEARPART_TYPE_LINUX) > > def setSteps(self, anaconda): > dispatch = anaconda.dispatch _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list