vSphere network is not connected by default


I am using the VMWare Vsphere Clone Builder .
The process that I wish to have is a standard one:

  1. Clone the template
  2. Power on the machine
  3. Connect to it via SSH
  4. Run commands
  5. Save as a new template

The issue is that when the machine is powered on its network is not connected - so I have to manually go to vcenter and tick the network connected box in order for step 3 to work.

How can I tell packer to power on the machine and connect to the network, so I will not have to manually tick the box ?