Create an IBM Cloud Pak System image from Red Hat Enterprise Linux CoreOS 4.4.0 OVA

Steps to create a IBM Cloud Pak® System image from Red Hat Enterprise Linux CoreOS OVA.

Procedure

  1. Download an OVA from Red Hat.

    Example:
    For OpenShift Container Platform V4.4.0, see https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.4/latest/rhcos-4.4.17-x86_64-vmware.x86_64.ova External link icon.

  2. Optional: If you want the Operating system to have a value in the IBM Cloud Pak System Virtual Image page, do the following steps:

    1. From the OVA downloaded in step 1, use the following command to extract the files:

      tar -xvf rhcos-4.4.0-x86_64-vmware.ova
      
    2. Edit the coreos.ovf file and find the following XML element:

      <OperatingSystemSection ovf:id="80" ovf:version="6" vmw:osType="rhel7_64Guest">
      
    3. Within the OperatingSystemSection element, add a Description element, such as the osType text. This text appears in the Operating system field of the IBM Cloud Pak System Virtual Image page.

      <OperatingSystemSection ovf:id="80" ovf:version="6" vmw:osType="rhel7_64Guest">
                    <Info>The kind of installed guest operating system</Info>
                    <Description>rhel7_64Guest</Description>
                </OperatingSystemSection>
      
    4. Combine the new set of files into an updated OVA.

      For example,

      tar -cvf /tmp/rhcos-4.4.0-x86_64-vmware.ova *
      
  3. On the IBM Cloud Pak System user interface, go to Patterns > Virtual Appliances and click + to import a new virtual appliance.

  4. Select SCP to access the OVA.

  5. After the image is imported, configure and deploy it to its smallest footprint. Make sure to select an IP address from drop down list for Attach IP address. The resulting virtual machine is stopped and you do not have to start it.

  6. After the virtual machine is deployed, go to Catalog > Virtual Images.

  7. Click Create New.

  8. On the Create virtual image section, select Create by capturing an existing virtual machine.

  9. Enter the following details for the newly created virtual machine:

    • Virtual machine - Select the virtual machine from the drop down list.
    • Virtual image name ="IBM OS Image for Red Hat Enterprise Linux CoreOS - Small 16GB"
    • Virtual image version= "4.4.0"
    • Virtual image description = "CoreOS 4.4"
  10. In the Metadata OVA file location, enter the location of MAESTRO_LINUX_OS_IMG_METADATA_CPS.ova. Download ova file here.

Notes:

  • Make sure that the ova file is publicly accessible.
  • Provide the complete link along with the file name.
  1. For CoreOS 4.4, the final image has a 16 GB disk. To create a larger disk size, clone the image and specify a larger disk size in the hardware section.