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)
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)