/opt/vmware/bin/ovfenvUnable to find the ovf environment.VMware vCenter Server 8.x
1. Shutdown the guest OS via the vSphere client.
2. Edit the VM, and go to the vApp Options tab, then click OK. (This will trigger a reconfigure virtual machine task, which should reset the ovfenv).
3. Power on the VM.
4. Test /opt/vmware/bin/ovfenv, it should return the data set in the vApp Options