Problem: Ubuntu 24.04 autoinstall (Subiquity) should install using only our local Pulp repo
Expected outcome:
http://server…Ubuntu_24_04_Noble_base_/http://server…Ubuntu_24_04_Noble_updates_/http://server…Ubuntu_24_04_Noble_security/
Foreman and Proxy versions:
- Foreman:
foreman-3.16.2-1.el9 - Smart Proxy:
foreman-proxy-3.16.2-1.el9 - Katello:
katello-4.18.1-1.el9 - Candlepin:
candlepin-4.6.3-1.el9
Foreman and Proxy plugin versions:
-
rubygem-smart_proxy_ansible-3.6.1-1.fm3_16.el9 -
rubygem-smart_proxy_dynflow-0.9.4-1.fm3_14.el9 -
rubygem-smart_proxy_pulp-3.4.0-1.fm3_13.el9 -
rubygem-smart_proxy_remote_execution_ssh-0.11.6-1.fm3_16.el9 -
rubygem-foreman_ansible-17.0.2-1.fm3_16.el9 -
rubygem-foreman_remote_execution-16.2.3-1.fm3_16.el9 -
rubygem-foreman-tasks-11.0.5-1.fm3_16.el9 -
rubygem-foreman_maintain-1.13.6-1.el9(tooling/maintenance)
Distribution and version:
- OS: Red Hat Enterprise Linux 9.7 (Plow)
- Kernel: 5.14.0-611.13.1.el9_7.x86_64
Other relevant data:
I have the following in my user-data file (yml), which works fine, but in the logs I can see that Subiquity performs updates from ubuntu servers…
Dec 15 16:20:13 ubuntu subiquity_log.4007[6324]: Get:30 Index of /ubuntu noble/universe amd64 Packages [15.0 MB]
My local repo also appears in the logs, but I wish that Subiquity does not contact http://archive.ubuntu.com and everything were done from my local repo.
I PXE load and use the ISO.
apt:
preserve_sources_list: false
geoip: false
fallback: abort
disable_suites: [backports]
mirror_selection:
primary:
- arches: [default]
uri: "http://my-server/pulp/content/Default_Organization/RC/Ubuntu-Noble/custom/Ubuntu/Ubuntu_24_04_Noble_base_/"
security:
- arches: [default]
uri: "http://my-server/pulp/content/Default_Organization/RC/Ubuntu-Noble/custom/Ubuntu/Ubuntu_24_04_Noble_security/"
sources:
my-server-key:
key: |
-----BEGIN PGP PUBLIC KEY BLOCK-----
some key
-----END PGP PUBLIC KEY BLOCK-----
source: |
Types: deb
URIs: http://my-server/pulp/content/Default_Organization/RC/Ubuntu-Noble/custom/Ubuntu/Ubuntu_24_04_Noble_base_/
Suites: noble
Components: main restricted universe multiverse
Signed-By: 239C8798CCB556EC69EAE50153E0604574DB818C
Types: deb
URIs: http://my-server/pulp/content/Default_Organization/RC/Ubuntu-Noble/custom/Ubuntu/Ubuntu_24_04_Noble_updates_/
Suites: noble-updates
Components: main restricted universe multiverse
Signed-By: 239C8798CCB556EC69EAE50153E0604574DB818C
Types: deb
URIs: http://my-server/pulp/content/Default_Organization/RC/Ubuntu-Noble/custom/Ubuntu/Ubuntu_24_04_Noble_security/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: 239C8798CCB556EC69EAE50153E0604574DB818C
any advice is more than appreciated !!
Thaaaanks!