- 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/
-
Convert the CoreOS qcow2 image to raw image
qemu-img convert -f qcow2 -O raw <image>.qcow2 <image>.raw
-
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.
-
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 -
Detach the newly added Volume, from the VM
-
Go to PowerVC UI ->images and select create for creating a new image
-
Specify
image name
and choosePowerVM
for Hypervisor type,RHEL
for Operating system andlittleEndian
for Endianness -
Select Add Volume and search for the specific volume name (where you dd-ed the CoreOS image ) and set Boot set to yes.
-
Create the image by clicking on create