Use codeready repository in kickstart

Posted on

Hi,

Is it possible to add the codeready-builder-for-rhel-8-x86_64-rpms
repository to a RHEL 8.4 kickstart, so that codeready packages can be included in the kickstart %packages section, and if so, what is the correct syntax?

 rhsm --organization=... --activation-key=...

works for the basic repositories, but when I add:

repo --name="codeready" --baseurl=https://cdn.redhat.com/content/dist/rhel8/$releasever/x86_64/codeready-builder/os --cost=150

the installer crashes in pre-install.

Thanks.

Responses