OVF deployment using a 3rd party script fails with "CategoryInfo : InvalidOperation: (:) [Import-VApp], OvfNoHostNic"
These are the variables used for the script.
# Server config
#
[server]
server_port = 20002
image_expire_days = 2
instance_expire_days = 999
image_dir = /Ab1/ova_downloads/XYZ
instance_dir = .XYZ
instance_pool = XYZ
#
# vCenter config
#
[vmware]
username = [email protected]
data_center =
resource_pool = ABC-XYZ-Resource
v_center = VCSA_FQDN
#v_host = ESXi_FQDN.local
v_host = ESXi FQDN
location = ABC-XYZ
#datastore = XYZ_DEF_ssd02
datastore = ABC_ssd01
vm_network = VLAN-LABLE-10.1.0.0/22
Deployment fails as it is unable to find VM portgroup on the ESXi
Keep the VM_network in double quotes under configuration file if we have special characters included in the name.
Example: "VLAN-LABLE-10.1.0.0/22"