I not sure it can be made to work with Packer. See https://github.com/hashicorp/packer/issues/2715#issuecomment-278844793
At the bottom someone reported a workaround. On Jul 30, 2017 01:36, "Artem Silenkov" <[email protected]> wrote: > Hello! > > I'm trying to build vmware-iso on esxi 6.5 with vDS networking. > All is good except I can't connect my vm to networking. VMWare throws > errors or NoData, > > For working vm config part looks like: > ethernet0.virtualDev = "vmxnet3" > ethernet0.dvs.switchId = "50 1f aa d0 7d 6e a4 41-50 0f 8f 7b 7b e4 25 1a" > ethernet0.dvs.portId = "16" > ethernet0.dvs.portgroupId = "dvportgroup-119" > ethernet0.dvs.connectionId = "483689523" > ethernet0.shares = "normal" > ethernet0.addressType = "generated" > ethernet0.generatedAddress = "00:0c:29:19:8f:18" > > How could I construct my vmx_data array for vDS networking? Tried > different combinations with no success. > > Thanks in advance > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/1a676636-9a47-4fa0-8a2f-547514538dfe%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/1a676636-9a47-4fa0-8a2f-547514538dfe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt_FGhG2kXLObeAW4PVuKv65m7m39PEOmQuORhQcyP_XEw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
