It might be easier to just yum and the centos4 repos that come
pre-configured with Centos4. but if you want to manage centos4 via
spacewalk, it takes a few steps:
Editing the /etc/sysconfig/rhn/sources file:
Remove all the source lines, so up2date doesn't try use a non-local rhn source.
Then register the client with your own rhn:
rhnreg_ks --serverUrl=http://<your spacewalk server>/XMLRPC
--activationkey=<your activation key>
Then do the appropriate channel adding and such on the spacewalk
sever, this should be just like a centos5 setup.
Then, back on the server:
Import the GPG key
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-4
To update the server:
up2date -u -v
if there any kernel, or other protected updates:
up2date -u -v -p
To install packages, not using yum:
up2date -i <package name>
HTH,
-Luis
On Tue, Mar 10, 2009 at 3:33 PM, Per Qvindesland <[email protected]> wrote:
> Hi Luis
>
> Thanks for replying to me.
>
> I have been thinking of the same but I kinda hit the wall nose first :) got
> any idea of how to configure up2date or how to execute up2date I.E up2date
> spacewalk-client?
>
> Kind regards
> Per Qvindesland
>
>
> On 3/10/09 9:26 PM, "Luis Garcia" <[email protected]> wrote:
>
>> You'll have to use the up2date tools that come with rhel4. I don't
>
>
> _______________________________________________
> 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