[Spacewalk-list] CentOS5 Channel Creation

Matt Mannix mattmnx at gmail.com
Mon Sep 29 14:52:01 UTC 2008


Good morning,

I need a bit of help wrapping my head around the channel creation
process. I currently have spacewalk up and running on a CentOS5 host
and i'm at the point of pulling data down from a repo and creating a
CentoOS 5 channel. The wiki page has some instructions for Fedora but
they are leaving me a little confused. How do I deal with software
updates inside of my repo that I want to configure into Spacewalk?

I understand that I can use yum and rsync a repo from the mirror list
which creates a base directory. I can also do the same for the
updates. What is confusing me is how these come together as one
channel for Spacewalk to use. Do I create two channels? or could it be
that i need to set up the reposync differently. If someone could help
set me straight it would be very much appreciated.

Working directory: /prod/repos
Working yum config: /prod/repos/CentOS-Base.repo
sync command executed:reposync -c CentOS-Base.repo -r base

Contents of yum config:

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


-- 
~matt




More information about the Spacewalk-list mailing list