When using lorax-composer from a subscribed RHEL system, the image building process always fails.
This is because Anaconda cannot access the repositories, because the subscription certificates from the host are not passed through.
This was already a problem in RHEL 7:
I've proposed a fix for this upstream, but it depends on changes in pykickstart and anaconda (I'll attach bugs shortly here):
JIRA ticket: https://projects.engineering.redhat.com/browse/COMPOSER-254
Managed to build an image by only enabling redhat.repo via subscrition manager. Moving to VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.