linka-cloud / d2vm

Build Virtual Machine Image from Dockerfile or Docker image
Apache License 2.0
208 stars 31 forks source link

Update format validator to permit vhd and vhdx, update conversion logic to treat `.vhd` files as qemu-img vpc type #49

Closed vsysio-bgould closed 1 month ago

vsysio-bgould commented 2 months ago

Referencing this issue, this correction enables output to legacy .vhd and the new(er?) .vhdx formats.

Changes were tested by building two VM images: One adopting .vhd and the other .vhdx. Both images were bootable under Hyper-V as well as an ESXi 6.5 box (after converting to VMDK and importiing with ESX' CLI)

Adphi commented 1 month ago

I am closing this pull request in favor of #50.

Thank you for your contribution !