-------- 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:05 AM

Hi Michael,

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

That would directly upload the package (ala rhnpush) or would it first download and then upload the packages? (old spacewalk had 2 versions of the rpm's: 1 for reposync and 1 for rhnpush).


...
I would like to share your thought on my scripts and methods..:)

Kind regards,

Michiel

--
Michael Mráka
Satellite Engineering, Red Hat

Michiel


_______________________________________________
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

Reply via email to