[Spacewalk-list] question about new spacewalk 0.7 setup

Michael Mraka michael.mraka at redhat.com
Thu Dec 17 09:48:28 UTC 2009


Michiel van Es wrote:
> [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=file:///etc/pki/rpm-gpg/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=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>
> #packages used/produced in the build but not released
> [addons]
> name=CentOS-$releasever - Addons
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
> #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>
> #additional packages that may be useful
> [extras]
> name=CentOS-$releasever - Extras
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
> #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>
>
> Instead of all diffirent channels I would like to push these diffirent  
> repo's in 1 channel (because it is the default on all systems/clients)

spacewalk-repo-sync -c centos5 --url http://isoredirect.centos.org/centos/5/os/i386/ --type=yum --label base
spacewalk-repo-sync -c centos5 --url http://isoredirect.centos.org/centos/5/updates/i386/ --type=yum --label updates
spacewalk-repo-sync -c centos5 --url http://isoredirect.centos.org/centos/5/addons/i386/ --type=yum --label addons
spacewalk-repo-sync -c centos5 --url http://isoredirect.centos.org/centos/5/extras/i386/ --type=yum --label extras

I remember there was a RFE for using mirrorlist in spacewalk-repo-sync
but I'm not sure if it's implemented or not yet.

> Then I would make a seperate channel voor Epel and RPMforge.
>
> Kind regards,
>
> Michiel

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list