How to register Ubuntu clients with Katello - Foreman

katello
ubuntu

#1

Problem: I couldn’t find any documentation related to ubuntu client registration with Foreman,
I had successfully synced the ubuntu repos for both 16 and 18 version.
But, I dont know how to register the ubuntu in foreman. Any help will be appreciated.

Expected outcome:

Foreman and Proxy versions: Version 1.22.0

Foreman and Proxy plugin versions: Version 1.22.0

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)

logs

#2

any help or documentation link please ?


#3

Perhaps @Bernhard_Suttner can answer the question if a client exists already. I am only aware of the possibility to use the Publish URLs directly in an apt sources list.


#4

You need to use the subscription-manager for debian / ubuntu. You can create a debian package by using the PR [1].

Or you need to get the subscription-manager source and run it locally.

[1] https://github.com/candlepin/subscription-manager/pull/2109


#5

well, any documentation or URL Link to do that ?
I have synced the Ubuntu 18.04 repo and they are accessible via HTTP.


#6

Unfortunately no documentation available.

How to build a debian package: https://wiki.debian.org/BuildingTutorial#Rebuild_without_changes (there are many other tutorials available).