Registering openSUSE MicroOS Clients
This section contains information about registering clients running these openSUSE MicroOS operating systems:
-
openSUSE MicroOS
Support for openSUSE MicroOS clients is provided as a technology preview for testing purposes, and not all features are fully functional at this stage. This feature is expected to be fully supported in a later version of Uyuni. Do not use this feature on production systems. |
1. Add Software Channels
Before you register openSUSE MicroOS clients to your Uyuni Server, you need to add the required software channels, and synchronize them.
In the following section, descriptions often defaults to the |
The channels you need for this procedure are:
OS Version | Base Channel | Client Channel | Updates Channel |
---|---|---|---|
openSUSE MicroOS |
opensuse_tumbleweed |
opensuse_tumbleweed-non-oss |
opensuse_tumbleweed-update |
-
At the command prompt on the Uyuni Server, as root, use the
spacewalk-common-channels
command to add the appropriate channels:spacewalk-common-channels \ <base_channel_label> <child_channel_label_1> \ <child_channel_label_2> \ ... <child_channel_label_n>
-
Synchronize the channels:
spacewalk-repo-sync -p <base_channel_label>
-
Ensure the synchronization is complete before continuing.
2. Check Synchronization Status
-
In the Uyuni Web UI, navigate to
, then click the channel associated to the repository. -
Navigate to the
Repositories
tab, then clickSync
and checkSync Status
.
-
At the command prompt on the Uyuni 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.
openSUSE MicroOS channels can be very large. Synchronization can sometimes take several hours. |
3. Trust Certificates Keys on Clients
openSUSE MicroOS is not yet fully enabled, so there are some manual steps to trust the Uyuni SSL certificate on MicroOS clients.
-
On the client, at the command prompt, as root, retrieve the SSL certificate file from the server:
curl -k https://uyuni-server.hispa-net.com/pub/RHN-ORG-TRUSTED-SSL-CERT -o /etc/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT
-
Update the certificates on the client:
update-ca-certificates
-
Install the required packages:
transactional-update pkg install salt-minion dmidecode
-
Reboot the client. If a message is shown indicating that there is a conflict with
busybox-hostname
, click Deinstallation of busybox-hostname. -
Create a new file called
/etc/salt/minion.d/susemanager-transactional.conf
with this content:module_executors: - transactional_update - direct_call
Your Uyuni Server will not show the true state of the client in the Web UI until after you have rebooted the client. This feature is expected to be fully supported in a later version of Uyuni.
If Salt is failing to install any software, you could be using an old version of Salt. Upgrade your Salt packages to the latest version to resolve this problem. |
4. Register Clients
For more information on registering your clients, see client-configuration:registration-overview.adoc.