Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # quick script to convert multiple proxmox qcow2 virtual disks to VMDK for migrating to VMware ESXi, etc...
- for image in 113 116 118 123 # replace with your actual proxmox VM IDs to convert
- do
- # be sure to update the paths to match your environment
- qemu-img convert -p -f qcow2 -O vmdk /mnt/nfs/proxmox/images/$image/vm-"$image"-disk-1.qcow /mnt/nfs/proxmox/images/$image/vm-"$image"-disk-1.vmdk
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement