As you might have reading, I worked out a working solution in order to pxe-install ubuntu 20.04 on systems. Probably not the best solution, but at least I provided the solution to the community to implement it in foreman as it should be.
Today I was trying to apply this solution as well to pxe-boot a server with ubuntu 22.04.
The autoinstall using the cloudinit method works.
But when installing the subsciption-manager it ends in an error.
The repo provided by atix, https://apt.atix.de/, is only available for ubuntu 20.04.
So I tried to install this version, but results in the following error:
root@test-ubuntu:/etc/apt# apt-get install -y python3-subscription-manager apt-transport-katello subscription-manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-subscription-manager : Depends: python3 (< 3.9) but 3.10.4-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
Any idea when a new version for ubuntu 22.04 will be available?
Otherwise, if possible, configuring the dependency version to ‘=> 3.9’ if this might be the fastest solution.
Thanks in advance for your feedback.