---
---
### Procedure
- Export VM disk to utility VM
- Create bootable cinder volume
- Attach volume to utility VM
- Convert to raw:
  - `qemu-img convert -O raw in.vmdk /dev/vdx`
<!--
In most cases it is possible to consolidate legacy VMs into your Openstack cloud. Here you’ll learn how to do it for Windows and Linux VMs step by step. For example: what tools to use, how to automate the driver injection, and how to handle the network config.
-->

<aside class="notes">
  Example is VM, can be server
  Convert on utility VM

  Then it depends if Linux or Windows
</aside>

---
---
### Procedure
- Create bootable cinder volume
- Attach volume to utility VM
- Export VM disk to utility VM
- Convert to raw:
  - VM: `qemu-img convert -O raw in.vmdk /dev/vdx`
  - Metal: `dd if=/dev/sdx | ssh UtilityVM "dd of=/dev/vdx"`
<!--
In most cases it is possible to consolidate legacy VMs into your Openstack cloud. Here you’ll learn how to do it for Windows and Linux VMs step by step. For example: what tools to use, how to automate the driver injection, and how to handle the network config.
-->

<aside class="notes">
  Example is VM, can be server
  Convert on utility VM

  Then it depends if Linux or Windows
</aside>

Add dd | ssh dd
Add dd | ssh dd
