Register RHEL6 client with Spacewalk
Reference:
- http://linuxinternetworks.com/register-clients-in-spacewalk/
Instructions
- First set a couple of variables to help the following instructions work with more versions:
BASE_ARCH=$(uname -i)
BASE_REL=$(sed -e '/.*release /s///' -e 's/\..*//' /etc/redhat-release) - Install the Space walk client for your architecture:
rpm -Uvh http://spacewalk.redhat.com/yum/1.7/RHEL/$BASE_REL/$BASE_ARCH/spacewalk-client-repo-1.7-5.el$BASE_REL.noarch.rpm
wget --directory-prefix=/tmp ftp://mirror.optus.net/epel/$BASE_REL/$BASE_ARCH/epel-release*.noarch.rpm && rpm -Uvh /tmp/epel-release*.noarch.rpm - Install the client packages:
yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
- Register the client:
rhnreg_ks --serverUrl=https://<fqn_spacewalk_server>/XMLRPC --activationkey=1-<activation_key_label>
Install Spacewalk on RHEL6
LinksInstructions
wget rpm -Uvh http://spacewalk.redhat.com/yum/1.7/RHEL/6/x86_64/spacewalk-repo-1.7-5.el6.noarch.rpm