8.x
Deploying an appliance with static IP address using ovftool requires the instance id specified to the network adapter.
using the command ovftool <path_to_ovf_or_ova_file> Properties:
ClassId: vami
Key: gateway
InstanceId VMware_vRealize_Orchestrator_Appliance
Category: Networking Properties
Label: Default Gateway
Type: string
Description: The default gateway address for this VM. Leave blank if DHCP is
desired.
ClassId: vami
Key: domain
InstanceId VMware_vRealize_Orchestrator_Appliance
Category: Networking Properties
Label: Domain Name
Type: string
Description: The domain name of this VM. Leave blank if DHCP is desired.
In this case the instance ID is VMware_vRealize_Orchestrator_Appliance
Use the identified instance ID in to deploy the OVF ovftool --acceptAllEulas --name=<vm_name> --network=<network_name> --datastore=<datastore_name> --powerOn --dm=thin --prop:vami.ip0.<instance_id>=<static_IP_address> --prop:vami.netmask0.<instance_id>=<subnet_mask> --prop:vami.gateway.<instance_id>=<gateway_IP> --prop:vami.DNS.<instance_id>=<dns_IP> <path_to_OVA_file> <vcenter_target>
Example:
ovftool --acceptAllEulas --name=<vm_name> --network=<network_name> --datastore=<datastore_name> --powerOn --dm=thin --prop:vami.ip0.VMware_vRealize_Orchestrator_Appliance=<static_IP_address> --prop:vami.netmask0.VMware_vRealize_Orchestrator_Appliance=<subnet_mask> --prop:vami.gateway.VMware_vRealize_Orchestrator_Appliance=<gateway_IP> --prop:vami.DNS.VMware_vRealize_Orchestrator_Appliance>=<dns_IP> <path_to_OVA_file> <vcenter_target>