Red Hat Bugzilla – Bug 559370
RFE: Ability to use non-Redhat channels with default base channel feature
Last modified: 2012-11-20 05:31:59 EST
Description of problem: I would like the ability to use the 'default base channel' feature with non-Redhat supplied channels. This would allow using one activation key for multiple architectures or distributions. Right now I have to assign a different activation key to each base channel architecture.
Mass-moving to space13.
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Aligning under space16.
please try the script I attached in this email
it should work
spacewalk-common-channel now has ability to create default channel mapping.
spacewalk-common-channel --user admin --password password --default-channels -v 'centos6'
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18
Trying to create a 'Distribution Channel Map' for CentOS fails because "Releases cannot be less than 3 characters."
From the GUI (Channels->Distribution Channel Mapping->Create new...) I tried input inputting the following:
Operating System: centos-release
Channel Label: CentOS 6 - x86_64
I modified Paul Marino's script slightly to use the distchannel.setMapForOrg and I was able to create distributions maps for Centos 5 and 6.
Huh I was about to mark the script as deprecated but if there is still a need I would be happy to update it
Fixed in spacewalk master by
decrease distChannelMap release minimal length
as e.g. CentOs5 uses '5' by default