Ubuntu Clients

Support for Ubuntu Clients was added in SUSE Manager 3.2. Currently, Salt clients running Ubuntu 16.04 LTS and 18.04 LTS are supported.

Ubuntu clients must be Salt clients. 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 in order to use bootstrapping, you will require an existing user with sudo privileges for Python.

Other supported features:

  • Synchronizing .deb channels

  • Assigning .deb channels to clients

  • GPG signing .deb repositories

  • Information displayed in System details pages

  • Package install, update, and remove

  • Package install using Package States

  • Configuration and state channels

Some actions are not yet supported:

  • Patch and errata support

  • Bare metal installations, PXE booting, and virtual host provisioning

  • Live patching

  • CVE Audit

  • If you use are using a repository from storage media (server.susemanager.fromdir = …​ option in rhn.conf), Ubuntu Client Tools will not work.

Prepare to Register Ubuntu Clients

Some preparation is required on before you can register Ubuntu clients to Uyuni Server.

Procedure: Install spacewalk-utils and Add the Ubuntu Channels
  1. Install spacewalk-utils package

    sudo zypper in spacewalk-utils
  2. As root add the Ubuntu channels (for example the channels for Ubuntu 18.04)

    sudo spacewalk-common-channels ubuntu-1804-pool-amd64-uyuni ubuntu-1804-amd64-main-uyuni \
    ubuntu-1804-amd64-main-update-uyuni ubuntu-1804-amd64-main-security-uyuni \
    ubuntu-1804-amd64-universe-uyuni ubuntu-1804-amd64-uyuni-client
  3. Synchronize the new custom channels. You can check the progress of your synchronization from the command line with this command:

    tail -f /var/log/rhn/reposync.log /var/log/rhn/reposync/*
  4. To use bootstrap with Ubuntu, you will need to create a bootstrap repository. You can do this from the command line with mgr-create-bootstrap-repo:

    mgr-create-bootstrap-repo --with-custom-channels

For more information on creating custom repositories, see administration:channel-management.adoc.

Enable the Ubuntu Root User

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 to the sudoers file. Replace <user> with the name of the user that will be used to bootstrap the client in the Web UI:

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