Registering Ubuntu 20.04 Clients

This section contains information about registering Salt clients running Ubuntu 20.04 LTS operating systems.

SUSE Manager supports Ubuntu 16.04 LTS, 18.04 LTS, and 20.04 LTS clients using Salt. For information about registering Salt clients running Ubuntu 16.04 LTS and 18.04 LTS, see client-configuration:clients-ubuntu-old.adoc.

Canonical does not endorse or support SUSE Manager.

Ubuntu is supported for Salt clients only. Traditional clients are not supported.

Bootstrapping is supported for starting Ubuntu clients and performing initial state runs such as setting repositories and performing profile updates. However, the root user on Ubuntu is disabled by default, so to use bootstrapping, you require an existing user with sudo privileges for Python.

Add Software Channels

Before you register Ubuntu clients to your SUSE Manager Server, check that you have the Ubuntu product enabled, and the required channels are fully synchronized.

The products you need for this procedure are:

Table 1. Ubuntu Products - WebUI
OS Version Product Name

Ubuntu 20.04

Ubuntu 20.04

Unresolved include directive in modules/client-configuration/pages/clients-ubuntu.adoc - include::snippets/add_channels_wizard.adoc[]

Check Synchronization Status

Unresolved include directive in modules/client-configuration/pages/clients-ubuntu.adoc - include::snippets/check_sync_webui_suma.adoc[]

Unresolved include directive in modules/client-configuration/pages/clients-ubuntu.adoc - include::snippets/check_sync_cli.adoc[]

Ubuntu channels can be very large. Synchronization can sometimes take several hours.

Root Access

The root user on Ubuntu is disabled by default. You can enable it by editing the sudoers file.

Procedure: Granting Root User Access
  1. On the client, edit the sudoers file:

    sudo visudo

    Grant sudo access to the user by adding this line at the end of the sudoers file. Replace <user> with the name of the user that is bootstrapping the client in the Web UI:

    <user>  ALL=NOPASSWD: /usr/bin/python, /usr/bin/python2, /usr/bin/python3

This procedure grants root access without requiring a password, which is required for registering the client. When the client is successfully installed it runs with root privileges, so the access is no longer required. We recommend that you remove the line from the sudoers file after the client has been successfully installed.

Register Clients

To register your Ubuntu clients, you need a bootstrap repository. By default, bootstrap repositories are automatically created, and regenerated daily for all synchronized products. You can manually create the bootstrap repository from the command prompt, using this command:

mgr-create-bootstrap-repo

For more information on registering your clients, see client-configuration:registration-overview.adoc.