VHD idea. Have a small dynamic vhd that is included with the converter, once the pack is created. Then copy all of the files from your generation into the dynamic VHD, and then just convert it to a fixed VHD after. one dummy file that allows for a little bit of growth (maybe 500MB) and then delete the 500MB file leaving that space free in the VHD.
You can convert a virtual disk by using the Convert-VHD command in Windows PowerShell. Select Run as administrator when you start PowerShell.
The following example command converts from VHDX to VHD, and from a dynamically expanding disk to fixed-size:
VHD idea. Have a small dynamic vhd that is included with the converter, once the pack is created. Then copy all of the files from your generation into the dynamic VHD, and then just convert it to a fixed VHD after. one dummy file that allows for a little bit of growth (maybe 500MB) and then delete the 500MB file leaving that space free in the VHD. You can convert a virtual disk by using the Convert-VHD command in Windows PowerShell. Select Run as administrator when you start PowerShell.
The following example command converts from VHDX to VHD, and from a dynamically expanding disk to fixed-size:
Convert-VHD –Path c:\test\MY-VM.vhdx –DestinationPath c:\test\MY-NEW-VM.vhd -VHDType Fixed
Look for cross compatible vhd mount and converter for Windows and Linux.