To use the subscription-manager built by ATIX, add the repository and import the required GPG public key (Fingerprint: CA56 F29E 0006 0B63 D089 0D0F 5BD9 6651 DF50 FFFB
) as follows:
Note that the subscription manager only has been built for Ubuntu 20.04 and Ubuntu 22.04 on architecture amd64
, codename stable
, and component main
.
Ensure to add the Katello CA to your managed hosts as follows:
wget --no-check-certificate -O katello-rhsm-consumer https://foreman.example.com/pub/katello-rhsm-consumer
/bin/bash -x katello-rhsm-consumer 2< /root/katello-rhsm-consumer.log
You can now run subscription-manager register --org="my-organisation" --name="my-host.example.com" --activationkey="my-activation-key"
to subscribe your host to Foreman.
/etc/apt/sources.list.d/client.sources
):
Types: deb URIs: https://oss.atix.de/Ubuntu24LTS/ Suites: stable Components: main Signed-by: CA56F29E00060B63D0890D0F5BD96651DF50FFFB
curl --silent --show-error --output /etc/apt/trusted.gpg.d/client.asc https://oss.atix.de/atix_gpg.pub
apt-get install -y python3-subscription-manager
/etc/apt/sources.list.d/client.list
):
deb https://oss.atix.de/Ubuntu22LTS/ stable main
https://oss.atix.de/atix_gpg.pub
apt-get install -y python3-subscription-manager
Unmaintained as of June 2024 with the release of Ubuntu 24.04 (Noble).
/etc/apt/sources.list.d/client.list
):
deb https://oss.atix.de/Ubuntu20LTS/ stable main
https://oss.atix.de/atix_gpg.pub
apt-get install -y python3-subscription-manager