Comment 1 for bug 1893898

Revision history for this message
Pengpeng Sun (pengpengs) wrote :

To include VMTools version info to ova template, write 'ddb.toolsVersion=2147483647' to the VMDK file before create the template.

VDDK SDK VixDiskLib_WriteMetadata API can be used to write "ddb.toolsVersion" metadata - https://code.vmware.com/docs/11750/virtual-disk-development-kit-programming-guide/GUID-C13FE900-6B19-4082-A040-354FB1F60BCB.html
VDDK SDK: https://code.vmware.com/web/sdk/7.0/vddk

Here is an example: https://github.com/vmware/photon/blob/master/support/image-builder/ovagenerator.py#L53