[Spacewalk-list] spacewalk-repo-sync

Dennis Stuiver - Info.nl Dennis at info.nl
Wed Sep 1 12:41:43 UTC 2010


Hello Rob,

Try this;

vim repos.txt

centos5-base-i386|http://mirror.proserve.nl/centos/5/os/i386/
centos5-updates-i386|http://mirror.proserve.nl/centos/5/updates/i386/
spacewalk-client-i386|http://spacewalk.redhat.com/yum/1.0-client/RHEL/5/i386/
epel5-i386|http://download.fedora.redhat.com/pub/epel/5/i386/

cat repos.txt | while read LN; do label=`echo $LN | awk -F\| '{print $1}'`; url=`echo $LN | awk -F\| '{print $2}'`; /usr/bin/spacewalk-repo-sync --channel "$label" --url "$url"; done

Kinds regards,

Dennis

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of rob morrien
Sent: woensdag 1 september 2010 13:12
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] spacewalk-repo-sync

Hello to ALL,

At this moment we use in spacewalk 1.0 the new spacewalk-repo-sync script.

We see that the packages are added into the spacewalk server.

But if we do on the client site yum repolist we still get the old valune
of the updated channel.
Afther reboot of the client the channel info is updated.

IS there a better workaround at this moment.


regards rob


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list