tdubb123
Expert
Expert

deployed VM from template but NIC is disconnected

Jump to solution

I deployed a Vm from template using a customization template. I made sure the Vm deployed had NIC connected when i selected finished. But after the clone, the VM came up with nic disconnected

any idea?

1 Solution

Accepted Solutions
virtualg_uk
Leadership
Leadership

Possibly a bug but to confirm, can you check the contents of the VMX file?

It should have something on the lines of:

ethernet0.startConnected = "TRUE"


Graham | User Moderator | https://virtualg.uk

View solution in original post

14 Replies
virtualg_uk
Leadership
Leadership

Possibly a bug but to confirm, can you check the contents of the VMX file?

It should have something on the lines of:

ethernet0.startConnected = "TRUE"


Graham | User Moderator | https://virtualg.uk
RajeevVCP4
Expert
Expert

what is NIC type in your template , is it vmxnet3 or e1000

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
0 Kudos
tdubb123
Expert
Expert

did not see that in the vmx file

ethernet0.startConnected = "TRUE"

even tjhough connect at power on is checked

0 Kudos
tdubb123
Expert
Expert

vmxnet3

0 Kudos
tdubb123
Expert
Expert

I am on vm hardware 13 on esxi 6.5

0 Kudos
tdubb123
Expert
Expert

added ethernet0.startConnected = "TRUE"

and seems to work.

so is it a bug with vcenter?

virtualg_uk
Leadership
Leadership

Quite possibly. I've noticed a few bugs in the newer HTML5 client. Worth reporting those if you can.

Glad it's fixed!


Graham | User Moderator | https://virtualg.uk
0 Kudos
tdubb123
Expert
Expert

not good. if I customize my virtual hardware. the network adapter connect check box goes back to off

0 Kudos
virtualg_uk
Leadership
Leadership

Might be worth re-creating the template and attaching the original disks?


Graham | User Moderator | https://virtualg.uk
0 Kudos
tyron_scholem
Contributor
Contributor

Can you add that to VMTX instead of VMX, to have all new machines already deployed with this parameter?

I'm on HW 13 on ESXi 6.5 also, so this is probably a bug indeed. HTML5 client.

ianfuller
Contributor
Contributor

Do you mean the VMX of the deployed VM? Or the VMXT of the template? Or perhaps to convert the template back to VM, edit the VMX, then convert back to template?

The first won't solve the issue for future deployments and the latter two were not successful for me. I can confirm the check boxes for "Connected" and "connect at power on" are both enabled and ethernet0.startConnected = "TRUE" is present as a VM and VM template before deployment but during the deployment process they become unchecked.

vSphere 6.7.0.46000, ESXi 6.7.0 b17167734, VM version 14

athelas
Contributor
Contributor

Hello, i have the same problem. After customization process ends, check box connected disappear. Did you find any solution of this problem?

0 Kudos
TomKalabis
Enthusiast
Enthusiast

same problem here ! 

vSphere 7.0u2 

0 Kudos
Mattythefatty
Contributor
Contributor

I also have the same problem.  

vCenter is at 7.0.3.00100

ESXi hosts are 7.0.2, 18538813

Adding the line to the vmx file did not solve it for me.   I've tried deploying to a VSS and VDS port group.   No luck.

0 Kudos