3.2. Adding third-party repositories with specific distributions to RHEL image builder
You can add additional custom repositories, and specify a distribution to your image during the image-building time by using the image-builder tool and the --extra-repo flag.
Prerequisites
- You have the custom repository URL.
Procedure
Build the image, and add the extra repository source and the chosen distribution system to RHEL image builder:
$ image-builder build <image-type> \ --add-repo <file:///path/to/my/repo> \ --distro rhel-10.0 \