diff -uNr anaconda-11.1.2.195__orig/installclasses/rhel.py anaconda-11.1.2.195/installclasses/rhel.py --- anaconda-11.1.2.195__orig/installclasses/rhel.py 2009-09-28 22:49:11.000000000 +0000 +++ anaconda-11.1.2.195/installclasses/rhel.py 2009-09-28 22:51:14.000000000 +0000 @@ -14,6 +14,8 @@ import logging log = logging.getLogger("anaconda") +import rpmUtils.arch + # custom installs are easy :-) class InstallClass(BaseInstallClass): # name has underscore used for mnemonics, strip if you dont need it @@ -57,6 +59,10 @@ skipkeytext = N_("If you cannot locate the Installation Number, consult " "http://www.redhat.com/InstNum/") + repos = { + "Packages from CentOS Extras": (None, "http://mirrorlist.centos.org/?release=5&arch=%s&repo=extras" %(rpmUtils.arch.getBaseArch() )) } + + def setInstallData(self, anaconda): BaseInstallClass.setInstallData(self, anaconda) BaseInstallClass.setDefaultPartitioning(self, anaconda.id.partitions,