SUSE Manager/Register RedHat traditional clients

From MicroFocusInternationalWiki
Revision as of 16:10, 23 August 2017 by Dvosburg (Talk | contribs)

Jump to: navigation, search

Traditionally managed clients (rhn stack)

SUSE Manager Main Page

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.




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