-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running behind Foreman/orcharhino/Satellite #350
Comments
Hi @Fobhep, please where did you specify custom (foreman/satellite) repository url for "/usr/bin/microdnf update -y" command in assemble? |
@milanzelenka I did not. My understanding is that ansible-builder uses by default those settings on EL servers:
And I think that within those images the repo list of the server is being mirrored into the actual container. |
Thanks. It's interesting. I my case it uses default public ubi.redhat.com repository, which time-outs because of no internet access... :-(
|
check out your
You can always try and prebuild your |
Yes, we are using local registry in private automation hub... It's look like that we need to rebuild ansible-builder-rhel8 image with custom repository lists...
|
The default way for a ubi image to react with a system connected to satellite/foreman is to use the system repos if applicable but only if the default ubi.repo is not there. For my set-up i am running this to have the final image to use ansible repo's additional_build_steps: this doenst work for build deps like galaxy. i prepend them there manually. This is something i need to open with the downstream channels. |
I have this same issue. I added my internal yum repos into both my base ansible-builder and ansible-runner images. Only those yum repos show up in When
When I run |
Experiencing same issue as well. There are no current methods for injection points to customize the behavior of the builder image in a similar fashion as the base |
I am using ansible-builder on a server that is air-gapped ie it is behind a Foreman/orcharhino/Satellite installation and thus has custom repositories.
Currently my installation is failing, since I can't manage to import the custom GPG key into the container.
This is somewhat connected to #195 and #293
Is there any other workarounds for now except creating a custom base container with said GPG key or modifying the created Dockerfile and building manually?
edit: added log
The text was updated successfully, but these errors were encountered: