Comment 2 for bug 1806133

Revision history for this message
Chad Smith (chad.smith) wrote :

After discussion on this bug, we've decided the best approach for cloud-init in the short term is to extend the OVF datasource to allow for setting datasource configuration options to allow merging from both VMWare IMC data and OVF user-data.

Such configuration would be provided in /etc/cloud/cloud/cloud.cfg.d/90_somename.cfg

Datasource:
  OVF:
      mergemetadata: true|false  # If true, merge metadata from any DataSourceOVF-supported source
      mergeorder: [ovf, vmware-tools]

The mergeorder above says that any vmware-tools(IMC) metadata will override any discovered duplicate configuration keys found in ovf.