Bug 1915351
| Summary: | RFE: be able to use composer without CDN connection | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Renaud Métrich <rmetrich> |
| Component: | osbuild-composer | Assignee: | Image Builder team <osbuilders> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | medium | Docs Contact: | Eliane Ramos Pereira <elpereir> |
| Priority: | medium | ||
| Version: | 8.3 | CC: | rhel-docs, sbarcomb, tcapek, tgunders, thozza |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
.Ability to override official repositories available
By default, the `osbuild-composer` backend has its own set of official repositories defined in the `/usr/share/osbuild-composer/repositories` directory. Consequently, it does not inherit the system repositories located in the `/etc/yum.repos.d/` directory. You can now override the official repositories. To do that, define overrides in the `/etc/osbuild-composer/repositories` and, as a result, the files located there take precedence over those in the `/usr` directory.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-07 08:53:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Renaud Métrich
2021-01-12 13:55:08 UTC
Thanks for reaching out Renaud. This is indeed not supported, but a workaround exists. The base repositories are defined in `/usr/lib/osbuild-composer/repositories/rhel-8.json`, and you can override these by making a copy of the file and put it in `/etc/osbuild-composer/repositories/` where you can edit them to point to the right URLs (and disable rhsm). Please let us know whether or not that works for you! |