mrepo per Spacewalk

Use mrepo to download the files.

– tar xvf mrepo-0.8.6.tar
– cd mrepo-0.8.6/ && make install
– cp rhel4es.conf /etc/mrepo.conf.d
– cp mrepo.conf /etc/
– vi /etc/sysconfig/rhn/sources
– add : up2date default
– add up2date-uuid
– uuidgen
– vi /etc/sysconfig/rhn/up2date-uuid/
– add: rhnuuid=4a9179f7-b462-497e-b40a-1876df68a530
5. Generate SystemIDs’
– gensystemid -u -p –release=4ES
–arch=i386 /opt/apps/spacewalk/mrepo/4ES-i386/
– gensystemid -u -p –release=4AS
–arch=x86_64 /opt/apps/spacewalk/mrepo/4AS-x86_64/

6. Download Content
– rhnget –download-all -s /opt/apps/spacewalk/mrepo/4ES-i386/systemid
-vv rhns:///rhel-i386-es-4 /opt/apps/spacewalk/rpms/rhel4es-i386/