Chapter 3. Creating a customized system image with an embed subscription by using Insights image builder You can create customized system images by using Insights image builder that have a subscription activation key already embedded and upload those images to the cloud target environment. 3.1. Embedding an automatic subscription during the image creation by using Insights image builder You can create images that have a subscription activation key already embedded in the image. With that, you can perform the registration during the image creation time. Prerequisites An account at Red Hat Customer Portal with an Insights subscription. An activation key. For more information about how to locate your key, see What is my organization_id . Procedure Access Insights image builder . The Insights image builder dashboard appears. Click Create image . The Create image dialog wizard opens. On the Image output page, complete the following steps: From the Release list, select the Release that you want to use: for example, choose Red Hat Enterprise Linux (RHEL). From the Select target environments option, select the desired target(s) cloud environment. Click . On the Register page, select the registration method that you want to use. You can select from these options: Automatically register and enable advanced capabilities or Register later . If you choose the Automatically register and enable advanced capabilities option, you can customize it further by clicking the Show additional connection options : The Monitor & manage subscriptions and access to Red Hat content radio button enables the following option: Enable predictive analytics and management capabilities - to provide actionable intelligence about your Red Hat Enterprise Linux environments, helping to identify and address operational and vulnerability risks before an issue results in downtime. Enable remote remediations and system management with automation - rhc enables Red Hat Enterprise Linux hosts to connect to Red Hat Insights to use the Red Hat Insights Remediations service. You can check or clear the checkboxes according to your preferences. From the dropdown menu, choose an activation key to use for the image. See Create and manage activation keys . Click . If you choose the Register later option, click . On the File system configuration page, define the partitioning of the image. You can select from these options: Use automatic partitioning (Recommended) or Manually configure partitions. Click . Optional: On the Additional Red Hat packages page, add packages to your image. See Adding packages during image creation by using Insights image builder . On the Name image page, enter a name for your image and click . If you do not enter a name, you can find the image you created by its UUID. On the Review page, review the information and click Create image . After you complete the steps in the Create image wizard, the image builder dashboard is displayed. Insights image builder starts the compose of a RHEL image for the x86_64 architecture. The Insights image builder Images dashboard opens. You can see details such as the Image UUID, the cloud target environment, the image operating system release and the status of the image creation. Note The image build, upload, and cloud registration processes can take up to ten minutes to complete. Additional resources Using Red Hat Subscription Management

Commands: