Template deployment through customization of a virtual machine with dynamic binding on dvPortgroup is not supported. To restore the connectivity, manually edit the virtual machine settings and map it to appropriate dvSwitch.
To manually edit the virtual machine settings and map it to appropriate dvSwitch:
-
Log in to vCenter Server of the ESX host using vSphere Client.
-
Right-click the deployed virtual machine and choose Edit Settings.
-
Highlight the network adapter (Network Adapter 1).
-
Under the Network Connection drop down, choose the appropriate dvSwitch.
-
Under device status, ensure that Connected and Connected at power on are selected.
-
Click OK to apply the changes.
Note: Always use the default port binding (static) while deploying template through customization.