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 Debian 11 and Debian 12 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.list
):
deb https://oss.atix.de/Debian12/ stable main
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/Debian11/ stable main
https://oss.atix.de/atix_gpg.pub
apt-get install -y python3-subscription-manager