Registering CentOS Clients
This section contains information about registering traditional and Salt clients running CentOS operating systems.
spacewalk-utils package contains a number of upstream command line tools required for client administration.
You will also require the
Keep in mind SUSE only provides support for
/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
zypper in spacewalk-utils
Add the CentOS base, updates, and client channels using the
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.
Repositoriestab, navigate to the
Syncsubtab, 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/hostsfor the real IP address of the client.
Create an activation key called
centos7on 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.