How to register Ubuntu clients with Katello - Foreman

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

any help or documentation link please ?

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.

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

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

Unfortunately no documentation available.

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

1 Like

Does anybody know how the subscription data gets translated to Suites and components in the debian subscription-manager created repo file?

I’ve been testing subscription-manager on Ubuntu and it seems like I just always get mapped to default/all rather than something like xenial/main.