Good day, Guys!
Hope, my situation will help.
I had the next problem:
1. Deployed Linux VM from template with a customization.
2. Had the same problem with the network.
3. On VM checked the next log-files: /var/log/vmware-vmsvc-root.log and found that my customization failed:
"DeployPkgInGuest failed, error=5"
4. To solve the problem I've added the next option:
/etc/vmware-tools/tools.conf
[deployPkg] enable-custom-scripts = true
5. The next time VM deployed from template with a customization went thru two reboots (automaticaly):
- during 1st reboot network was disconnected, but changes to the network (at least hostname) changed;
- during 2nd reboot network became connected and VM worked well with new hostname and other settings.
The easiest way to check if the problem with vCenter:
1. Deploy VM from template without any customization => check network;
2. Deploy VM from same template with OS customization => check network.
BR