--- installclasses/fedora.py | 2 +- yuminstall.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/installclasses/fedora.py b/installclasses/fedora.py index 8bb3be7..828678a 100644 --- a/installclasses/fedora.py +++ b/installclasses/fedora.py @@ -52,7 +52,7 @@ class InstallClass(BaseInstallClass): if not type(uri) == types.ListType: uri = [uri,] - return {'Fedora': uri} + return {'Installation Repo': uri} def setInstallData(self, anaconda): BaseInstallClass.setInstallData(self, anaconda) diff --git a/yuminstall.py b/yuminstall.py index ee4b93e..24e1280 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -607,6 +607,11 @@ class AnacondaYum(YumSorter): repo.yumvar.update(self.conf.yumvar) repo.cfg = parser + # If repo=/method= was passed in, we want to default these extra + # repos to off. + if self._baseRepoURL: + repo.enabled = False + return repo # We need to make sure $releasever gets set up before .repo files are -- 1.5.5.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list