Migrating a VMware image

We can migrate a VMware based image, vmdk, to other disk image formats. This can be achieved using an image conversion utility. This same utility can be used to verify that the conversion worked properly. Once the image has been converted, it can be uploaded to OpenStack Image Service.

Getting ready

To begin with, ensure you are logged in to our Ubuntu client where we will be doing the image conversion. Make sure you have qemu-util installed; if not, you may install it using the following:

sudo apt-get install qemu-utils

How to do it...

Carry out the following steps to convert a VMDK image to the QCOW2 format:

  1. Verify the image using the following command:
    qemu-img info custom-iso-1415990568-disk1.vmdk 
    
  2. You will get the following ...

Get OpenStack Cloud Computing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.