Red Hat Bugzilla – Bug 466502
Unwanted repos added to kickstart
Last modified: 2009-09-17 03:08:28 EDT
Description of problem:
Additional repos only probably useful for RHEL are added irrespective of the OS the kickstart is for.
Version-Release number of selected component (if applicable):
Incorrect for both CentOS and Fedora
Steps to Reproduce:
1. Push a kickstart image up for Fedora9 with make-ks-tree.sh
2. Create a profile using it.
3. Go to the Kickstart File.
Four repos have appeared that you don't want (Cluster, ClusterStorage, VT, Workstation)
No extra repos should be added (unless you're using RHEL I assume).
spacewalk-java-0.2.8/code/src/com/redhat/rhn/manager/kickstart/KickstartWizardHelper.java seems to contain the guilty lines of code.
Looks like the repo's lines are set when the kickstart profile is created or changed when the kickstartable tree is changed.
John, can you see if a new non-RHEL (i.e. Centos or Fedora) kickstart profile excludes the repo lines and advise? You might need to test against the latest code in the git repo.
A Fedora 9 install from a SW 0.4 server no longer shows these unwanted repos.
The repo lines should now only show up for rhel5 or greater. Even on RHEL5 systems, the repos other than VT are not automatically added but they can be optionally selected in the profile in the Operating Systems page.
Moving to ON_QA
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.