We’ve a hyper-v node added as hyper-v cloud in the Morpheus, Able to deploy VM into it using images from Morpheus marketplace.
We created a golden image for windows server 2022 in the same hyper-v node, Created 1 2022 VM and followed steps provided in Morpheus documentation for golden image creation. Imported VHDx of that VM to Morpheus and created node type,instance types and layout. When we try provision the VM using that golden image to hyper-v node, Provisioning fails with generic message “Your Instance Test-006 had a failure occur during provisioning”.
On Hyper-v node I do see a VM getting created which is unable to find a boot media/source
After following steps in VM i’m using sysprep ( sysprep\sysprep.exe /generalize /shutdown /oobe) to generalize and shurdown the VM, Once VM is off then i upload the VHDx file to Morpheus.
Our process is to use packer, with use_fixed_vhd_format = "true" and skip_compaction = "true" with a Gen1 vhd file. That’s what I know works.
Can you DM me a log of you trying to deploy this? There might be a clue in there for me, but I haven’t dug into using Gen2 vhdx disk images in Hyper-V, myself.