You can manage and define custom properties that are stored in the OVF template when you export a virtual machine or vApp and are used by vCenter Server when you deploy the OVF template. OVF templates support static properties, which are often configured by the user, and dynamic properties, which are always set by vCenter Server.
Perform these tasks to customize your virtual machine or vApp with properties:
Define the OVF properties, for example a DNS address or gateway, in the virtual machine or vApp.
If you or planning to export to OVF:
Set up the OVF environment transport to carry the settings into the virtual machine. See Edit OVF Settings for a Virtual Machine in the vSphere Web Client.
Write some glue code to access and apply the information to the virtual machine.
See the VMware vApp Developer blog topic Self-Configuration and the OVF Environment for a discussion, sample code, and a video.
- Right-click a virtual machine in the inventory and select Edit Settings.
- Click the vApp Options tab.
- Click the Enable vApp options check box.
- In the Authoring section, click Properties.
You can select and edit or delete an existing property, or create a new custom property.
- To create a property, click New.
- Specify property fields.
- Click OK.