Registering Debian Clients
This section contains information about registering Salt clients running Debian operating systems.
SUSE does not provide support for Debian operating systems. SUSE Manager allows you to manage Debian clients, but support is not provided. Using SUSE Manager to manage Debian clients is experimental. These instructions have been tested on Debian 9 Stretch and Debian 10 Buster. Do not rely on Debian clients in a production environment. |
Debian is supported for Salt clients only. Traditional clients are not supported. |
Bootstrapping can be used with Debian clients for performing initial state runs, and for profile updates.
Prepare to Register
Some preparation is required before you can register Debian clients to the SUSE Manager Server:
-
If you are using Debian 9, install the required packages on the client before you attempt to register. On the client, at the command prompt, as root, run:
apt install apt-transport-https python-apt python3-apt
-
Ensure DNS is correctly configured and provides an entry for the client. Alternatively, you can configure the
/etc/hosts
files on both the SUSE Manager Server and the client with the appropriate entries. -
The client must have the date and time synchronized with the SUSE Manager Server before registration.
Add Software Channels
Before you can register Debian clients to your SUSE Manager Server, you need to add the required software channels, and synchronize them.
The products you need for this procedure are:
OS Version | Product Name |
---|---|
Debian 9 |
SUSE Linux Enterprise Client Tools Debian 9 amd64 |
Debian 10 |
SUSE Linux Enterprise Client Tools Debian 10 amd64 |
-
In the SUSE Manager Web UI, navigate to
. -
Locate the appropriate products for your client operating system and architecture using the search bar, and check the appropriate product. This automatically checks all required channels. Click the arrow to see the complete list of related products, and ensure that any extra products you require are checked.
-
Click Add Products and wait until the products have finished synchronizing.
Alternatively, you can add channels at the command prompt. The channels you need for this procedure are:
OS Version | Product Name |
---|---|
Debian 9 |
debian-9-pool-amd64 |
Debian 10 |
debian-10-pool-amd64 |
-
At the command prompt on the SUSE Manager Server, as root, use the
spacewalk-common-channels
command to add the appropriate channels:spacewalk-common-channels \ <base_channel_name> \ <child_channel_name_1> \ <child_channel_name_2> \ ... <child_channel_name_n>
-
Synchronize the channels:
mgr-sync refresh --refresh-channels
Check Synchronization Status
-
In the SUSE Manager Web UI, navigate to
and select theProducts
tab. This dialog displays a completion bar for each product when they are being synchronized. -
Alternatively, you can navigate to
, then click the channel associated to the repository. Navigate to theRepositories
tab, then clickSync
and checkSync Status
.
-
At the command prompt on the SUSE Manager Server, as root, use the
tail
command to check the synchronization log file:tail -f /var/log/rhn/reposync/<channel-label>.log
-
Each child channel generates its own log during the synchronization progress. You need to check all the base and child channel log files to be sure that the synchronization is complete.
Debian channels can be very large. Synchronization can sometimes take several hours. |
Register Clients
To register your Debian clients, you need a bootstrap repository. By default, bootstrap repositories are regenerated daily. You can manually create the bootstrap repository from the command prompt, using this command:
mgr-create-bootstrap-repo --with-custom-channels
For Debian 10, select debian10-amd64-uyuni
when prompted.
For more information on registering your clients, see client-configuration:registration-overview.adoc.