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: [email protected] [mailto:[email protected]] On Behalf Of rob morrien Sent: woensdag 1 september 2010 13:12 To: [email protected] 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 [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
