Registering CentOS Clients
This section contains information about registering traditional and Salt clients running CentOS operating systems.
Set up a CentOS Client
The spacewalk-utils
package contains a number of upstream command line tools required for client administration.
You will also require the spacewalk-common-channels
tool.
Keep in mind SUSE only provides support for spacewalk-clone-by-date
and spacewalk-manage-channel-lifecycle
tools.
The /etc/rhn/spacewalk-common-channels.ini
configuration file must contain the channel references you want to add.
If a channel is not listed, check the latest version for updates: https://github.com/spacewalkproject/spacewalk/tree/master/utils
You will also need an activation key associated with the CentOS channel. For more information on activation keys, see client-configuration:clients-and-activation-keys.adoc.
-
At the command prompt on the SUSE Manager Server, as root, install the
spacewalk-utils
package:zypper in spacewalk-utils
-
Add the CentOS base, updates, and client channels using the
spacewalk-common-channels
script:spacewalk-common-channels -u admin -p`secret`-a x86_64 'centos7' spacewalk-common-channels -u admin -p`secret`-a x86_64 'centos7-updates' spacewalk-common-channels -u admin -p`secret`-a x86_64 'centos7-uyuni-client-x86_64'
-
In the SUSE Manager Web UI, navigate to
, and select the base channel you want to synchronize. -
In the
Repositories
tab, navigate to theSync
subtab, and click Sync Now. You can also create a regular synchronization schedule on this page.
When you have prepared you SUSE Manager Server, you can install your CentOS client using your preferred installation media and method.
-
At the command prompt, copy all relevant GPG keys to
/srv/www/htdocs/pub
. If you intend to use a bootstrap script to register your client, you can add the GPG keys to your bootstrap script. -
Check that the client machine can resolve itself and your SUSE Manager Server using DNS.
-
Check that there is an entry in
/etc/hosts
for the real IP address of the client. -
Create an activation key called
centos7
on the SUSE Manager Server that points to the correct parent and child channels, including the CentOS base repository, updates, and client channels.
When you are ready to register your CentOS client, follow the instructions in client-configuration:registration-overview.adoc.