-------- Original Message --------
Subject: Re: [Spacewalk-list] question about new spacewalk 0.7 setup
From: Michael Mraka <[email protected]>
To: [email protected] <[email protected]>
Date: 12/17/2009 10:48 AM
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
Hi Michael,
Will this work?
#!/bin/sh
#
# This script updates the spacewalk channels with it repositories
#
# MvE - 0.1
#########################################################################
#
### CentOS 5 - i386
#
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
#
### CentOS 5 - x86_64
#
spacewalk-repo-sync -c centos5_x86_64 --url
http://isoredirect.centos.org/centos/5/os/x86_64/ --type=yum --label base
spacewalk-repo-sync -c centos5_x86_64 --url
http://isoredirect.centos.org/centos/5/updates/x86_64/ --type=yum
--label updates
spacewalk-repo-sync -c centos5_x86_64 --url
http://isoredirect.centos.org/centos/5/addons/x86_64/ --type=yum --label
addons
spacewalk-repo-sync -c centos5_x86_64 --url
http://isoredirect.centos.org/centos/5/extras/x86_64/ --type=yum --label
extras
#
### Epelrepo CentOS 5 - i386
#
spacewalk-repo-sync -c epel_centos5 --url
http://download.fedoraproject.org/pub/epel/5/i386/ --type=yum --label epel
#
### Epelrepo CentOS 5 - x86_64
#
spacewalk-repo-sync -c epel_centos5_x86_64 --url
http://download.fedoraproject.org/pub/epel/5/x86_64/ --type=yum --label epel
I don't have a yum epel x86_64 repo file and will it work when the label
name is the same on both i386 and x86_64 repo? (both use another channel).
Kind regards,
Michiel
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
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list