Problem:
Using Foreman :: Provisioning Ubuntu Autoinstall as a guide, we’re attempting to provision bare-metal laptops with autoinstall of Ubuntu Desktop 23.10. This article states the following: " The Preseed default finish
template installs subscription-manager
and registers the host to Foreman." When I look at the Preseed Default Finish template I do not see any call to the “subscription-manager-setup” snippet. This snippet’s description states that it is being called from the “global_registration” template. The Global Registration template, given its type, cannot be associated to an Operating System.
As it stands at the moment, subscription-manager does not get setup as part of our Ubuntu desktop provisioning process. Is Foreman (in our case, our proxy server) expected to automatically run the Global Registration template at some point of the process or should we simple add the subscription-manager-setup snippet to a cloned version of the Preseed Default Finish template?
Any clarification on this particular aspect would be greatly appreciated.
Expected outcome:
Subscription-manager gets installed as part of the provisioning process.
Foreman and Proxy versions:
Foreman and proxy are at 3.10
Foreman and Proxy plugin versions:
Distribution and version:
Almalinux 8.9
Other relevant data:
Our Foreman server is configured with the following features: Logs, Pulpcore, Puppet, Puppet CA
Our Proxy server is configured with the following features: Container_Gateway, Discovery, Dynflow, HTTPBoot, Logs, Pulpcore, Registration, Script, Templates, TFTP.
We also have a Windows proxy server configured with the following features: DHCP, DNS, Logs.
Due to our network configuration, our hosts cannot communicate with our foreman server, thus the provisioning is done via our proxy server.