Este contenido no está disponible en el idioma seleccionado.
Chapter 19. Preparing and uploading custom images directly to OCI
You can create custom images and automatically update them to the Oracle Cloud Infrastructure (OCI) instance by using RHEL image builder.
19.1. Creating and automatically uploading custom images to OCI Copiar enlaceEnlace copiado en el portapapeles!
With RHEL image builder, you can build customized images and automatically push them directly to your Oracle Cloud Infrastructure (OCI) instance. Then, you can start an image instance from the OCI dashboard.
Prerequisites
-
You have
rootorweldrgroup user access to the system. - You have an Oracle Cloud account.
- You must have security access in an OCI policy.
-
You have created an OCI Bucket in the
OCI_REGIONof your choice.
Procedure
- Open the RHEL image builder interface of the web console in a browser.
- Click Create blueprint. The Create blueprint wizard opens.
- On the Details page, enter a name for the blueprint, and optionally, a description. Click Next.
- On the Packages page, select the components and packages that you want to include in the image. Click Next.
- On the Customizations page, configure the customizations that you want for your blueprint. Click Next.
- On the Review page, click Create.
- To create an image, click Create Image. The Create image wizard opens.
On the Image output page, complete the following steps:
- From the "Select a blueprint" drop-down menu, select the blueprint you want.
-
From the "Image output type" drop-down menu, select
Oracle Cloud Infrastructure (.qcow2). - Check the Upload to OCI checkbox to upload your image to the OCI.
- Enter the "image size". Click Next.
On the Upload to OCI - Authentication page, enter the following mandatory details:
- User OCID: You can find it in the Console on the page showing the user’s details.
- Private key
On the Upload to OCI - Destination page, enter the following mandatory details and click Next.
- Image name: a name for the image that you want to upload.
- OCI bucket
- Bucket namespace
- Bucket region
- Bucket compartment
- Bucket tenancy
Review the details in the wizard and click Finish.
RHEL image builder adds the compose of a RHEL
.qcow2image to the queue.
Verification
- Access the OCI dashboard and click Custom Images.
- Select the Compartment you specified for the image and locate the image in the Import image table.
- Click the image name and verify the image information.