Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.08 KB

coreos-image-creation.md

File metadata and controls

26 lines (17 loc) · 1.08 KB
  1. Download and extract the CoreOS image with suffix -openstack.ppc64le.qcow2.gz.

Note: CoreOS images for ppc64ple architecture can be found here - https://mirror.openshift.com/pub/openshift-v4/ppc64le/dependencies/rhcos/

  1. Convert the CoreOS qcow2 image to raw image

    qemu-img convert -f qcow2 -O raw <image>.qcow2 <image>.raw
    
  2. Attach a new volume with required size ( eg 20G)to an existing PowerVC VM and restart it. Please take a note of the new volume.

  3. Once the VM is up, get the CoreOS raw image to this VM and dump the raw image to the newly added disk

    dd if=<image>.raw of=/dev/<device> bs=4M
    

    where <device> is the newly added device

  4. Detach the newly added Volume, from the VM

  5. Go to PowerVC UI ->images and select create for creating a new image

  6. Specify image name and choose PowerVM for Hypervisor type, RHEL for Operating system and littleEndian for Endianness

  7. Select Add Volume and search for the specific volume name (where you dd-ed the CoreOS image ) and set Boot set to yes.

  8. Create the image by clicking on create