SUSE Manager/Register RedHat traditional clients
Traditionally managed clients (rhn stack)
In order to register RedHat (traditional/RHN clients) the following steps are necessary.
Create/edit your bootstrap script to correctly reflect the following:
# can be edited, but probably correct (unless created during initial install): # NOTE: ACTIVATION_KEYS *must* be used to bootstrap a client machine. ACTIVATION_KEYS=1-centos7 ORG_GPG_KEY=res.key,RPM-GPG-KEY-CentOS-6,suse-307E3D54.key,suse-9C800ACA.key,RPM-GPG-KEY-spacewalk-2015 FULLY_UPDATE_THIS_BOX=0 yum clean all # Install the prerequisites yum -y install yum-rhn-plugin rhn-setup
Add these lines to the very bottom of your script, (just before echo “-bootstrap complete -” )
# This section is for commands to be executed after registration mv /etc/yum.repos.d/Cent* /root/ yum clean all chkconfig rhnsd on chkconfig osad on service rhnsd restart service osad restart