6.7

Table Of Contents
Perform these tasks to customize your virtual machine or vApp with properties:
1 Define the OVF properties, for example a DNS address or gateway, in the virtual machine or vApp.
2 If you or planning to export to OVF:
a 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.
b 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.
Procedure
1 Right-click a virtual machine in the inventory and select Edit Settings.
2 Click the vApp Options tab.
3 Click the Enable vApp options check box.
4 In the Authoring section, click Properties.
You can select and edit or delete an existing property, or create a new custom property.
5 To create a property, click New.
6 Specify property fields.
7 Click OK.
Edit vApp IP Allocation Policy for a Virtual Machine in the
vSphere Web Client
You can edit the IP allocation policy through the Virtual Machine Properties dialog box.
Procedure
1 Right-click a virtual machine in the inventory and select Edit Settings.
2 Click the vApp Options tab.
3 Select Enable vApp options.
4 In the Authoring section, select IP allocation.
The information you specify will be used if you export the virtual machine to OVF and deploy the OVF.
5 Select a network configuration scheme.
Option Description
OVF environment Determined by the environment in which you deploy the OVF template.
DHCP The IP addresses are allocated using DHCP when the virtual machine is powered
on.
6 Choose the IP protocol that this vApp supports: IPv4, IPv6, or both.
vSphere Virtual Machine Administration
VMware, Inc. 206