Author : Martina Laleva
Topic Name : Manage vApp Custom Properties for a Virtual Machine
Publication Name : vSphere Virtual Machine Administration
Product/Version : VMware vSphere/6.5
Question :
We are in process of deploying Centos-7.4 with Ovftool. We created a vm with two interfaces, with hardware version as 8. The host doesn't have any hostname/IP's. From the vm we made a OVF image and deployed a new vm by below command, the ovtool deployed vm over VCenter and VM is up. The problem is ovftool not mapping IP's fqdn and dns properties specified. We are able to see the properties configured in vApp, but not reflecting inside VM. The vmware tools status showing as (running 3rd party independent). is the vm deployed by ovtool with reference image should contain IP's. Please help us with resolution. /usr/lib/vmware-ovftool/ovftool.bin -q --overwrite --powerOffTarget --powerOn --acceptAllEulas --skipManifestCheck --net:web_vlan=Prod_Nw --net:Netapp_vlan=Str_Nw --diskMode=thin --datastore=PRD-CLU01 --name=prdvm14 --vmFolder=PRD/V2 --prop:fqdn=prdvm14.company.colo --prop:dns_0=10.11.18.250 --prop:dns_1=10.11.18.251 --prop:dns_2=10.11.18.252 --prop:web_ip=10.11.21.14 --prop:nm_web=255.0.0.0 --prop:gw_web=10.11.21.2 --prop:ip_storage=10.11.88.100 --prop:nm_storage=255.0.0.0 http://prdrep01/centos/7.4/ova/centos-7.4.ovf vi://admin:pass@10.11.18.60/PROD/host/Cluster01/Resources/
why are You creating new VMs on vSphere 6.5 with vHardware version 8? The actual version for 6.5 is 13. Just to isolate the main cause.
Did You follow OVF Tool User's Guide?
Hi,
Our vSphere version is 5.5.0 and vHardware version is 8.