[Spacewalk-list] question about new spacewalk 0.7 setup
Michael Mraka
michael.mraka at redhat.com
Thu Dec 17 09:05:19 UTC 2009
Michiel van Es wrote:
> Hi,
>
> We installed a new spacewalk 0.7 server.
> We want to move from an old 0.3 upgraded to 0.6 spacewalk server to this
> new 0.7 server.
>
> I want to review my reposync script to pull the yum packages and the
> rhnpush scripts I use.
>
> For reposync I use:
>
> ### Updates for Centos 4
> echo "Starting a reposync for CentOS4_updates at `date`" >> $REPOSYNCLOG
> echo "" >> $REPOSYNCLOG
> reposync -c /etc/yum.repos.d/reposync_repo/CentOS4.repo -n -p
> $REPODIR/CentOS4 --repoid=CentOS4-updates
In Spacewalk 0.7 you can use new tool spacewalk-repo-sync instead of
reposync + rhnpush:
spacewalk-repo-sync -c centos5 --url http://isoredirect.centos.org/centos/5/os/i386/ --type=yum --label centos5
...
> I would like to share your thought on my scripts and methods..:)
>
> Kind regards,
>
> Michiel
--
Michael Mráka
Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list