Skip to content

Converting images

This is a step by step guideline on how to convert Openstack images to Sunlight.

Openstack (raw) to Sunlight image conversion

  1. Install an ubuntu 18.04 VM on the Sunlight platform

  2. Run the following commands (as sudo user)

    apt-get update
    apt-get install qemu-utils
    
  3. Download the raw (.img) image to convert and run the appropriate qemu-img convert cmdline

    qemu-img convert -f raw -O qcow2 <image>.img <image>.qcow2
    
  4. Insert the converted output image (.qcow2) into the Sunlight template manager.

Disclaimer note

Sometimes the relevant drivers are required in order to obtain maximum performance or to achieve full compatibility with the Sunlight platform.