Created
May 15, 2015 15:05
-
-
Save lovellfelix/7aa7edfc45605650913c to your computer and use it in GitHub Desktop.
Convert p2v vmware vmdk to kvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Convert vmware image to raw format image file | |
qemu-img convert -f vmdk -p -O raw machine.name.vmdk /opt/machine-name.img | |
#DD image into logical volume | |
dd if=machine-name.img of=/dev/vg_vmstore/lv_001-prod-machine-name-win001 | |
#Use create virtual machine with existing disk | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment