Chapter 2. Building a RHEL image with custom repositories Start by using the Insights image builder application to build a RHEL for Edge image. RHEL for Edge is optimized for edge computing to provide faster data delivery. It also enables updates with OSTree , which is a git-like model of updates that sends only the changes in your update, so that updates are quick and rollback is easy. Optionally, you can add packages from custom repositories outside of Red Hat to customize your RHEL for Edge image and enable it with the features and packages that you need for your business. Warning Using RHEL for Edge customized images that were created using the on-premise version of RHEL image builder is not supported by the Insights image builder application. For more details, see Edge images supportability . Prerequisites You must have a Red Hat Hybrid Cloud Console account. Procedure Access Red Hat Hybrid Cloud Console platform and log in. From the console dashboard, navigate to Red Hat Insights > RHEL > Inventory > Images . The Insights image builder environment opens. In the image builder application, click the Immutable (OSTree) tab. Click Create new image . On the Create image wizard, follow the steps: On the Details page, enter an image name and click . On the Options page, select the following details: Select the image base release for your image. Select the option RHEL for Edge Installer (.iso) . Click . On the System registration page, follow the steps: Enter a username. This is the username to log in to your system after it is created. Enter a public SSH key to create a user for your image. Click . On the Activation Keys page, follow the steps: From the dropdown menu, choose an activation key to use for the image. See the Creating an activation key documentation for more details. You can manage the activation key that you chose by accessing Activation keys in the Console. Click . On the Content page: On the Additional Red Hat packages page, add any core RHEL package, for example, emacs . In the Available packages search field, enter emacs and click the search icon. Select emacs from the search results. Click the Add Selected or Add all arrow button to add emacs to the list. Click . On the Custom repositories page: Select the custom repository you added. Click . On the Review page: Check the data is correct and click Create image . Verification The image may take some minutes to build. After your image is created, you can see it on the Images page. You can see the following image details: Name Version Created Type Release Status Created or Updated Description Packages Changes from version User information, such as username and ssh key. Note Every time that you created an updated version of the image, the system keeps using the same activation key that you previously added to the image. To change the activation key, you need to manually registry the system again. Steps After you build the image, install it on your device. When you run the Subscription Manager tool, you can see that the device was registered with the Activation key that you chose. If you did not choose an activation key, then you can proceed to register your system with the Red Hat Remote Host Configuration (rhc) client. Additional resources How to start the upgrade process of an Edge Management deployed system . Edge images supportability .

Commands: