Hi Alvaro,

Thanks for the info.
Finally I found another way to get past this issue of vmxnet3. 
create-vm.json attached.
(Note : in json file i have to set "ethernet0.virtualDev": "e1000" , 
otherwise packer build fails.)

After running packer build myjsonfile and i see VM getting registered on 
esx in debug text, I'm using vsphere powercli to modify the network adapter 
to vmxnet3 type online.
get-vm packer-vm | get-networkadapter|set-networkadapter -networkname 
"vlan2"   -type vmxnet3 -connected:$true -confirm:$false

I tested on centos7, the vmxnet3 driver is gettign loaded only after 
shutdown and power on, (if I just reboot instead of shutdown first time 
e1000 driver loaded).

Thanks again Alvaro, your help is much appreciated.

On Friday, September 2, 2016 at 11:48:36 PM UTC+5:30, Alvaro Miranda 
Aguilera wrote:
>
>
> On Thu, Sep 1, 2016 at 9:30 AM, Anil Dasmala <[email protected] 
> <javascript:>> wrote:
>
>> vmxnet3
>
>
> Hello
>
> What he did is a new file.go that you can use to patch packer and build a 
> new binary.
>
> I think will be easier to ask him for a build version (binary) to test.
>
> Other option is create a custom iso / initrd
>
>
> https://vmwire.com/2011/06/11/vmware-tools-rpm-installation-with-pxeboot-and-kickstart-3/
>
>
> Can you share your packer templates and scripts?
>
> I have an ESX 5.5 where I can test 
>
>
> -- 
> Alvaro
> (+31)103400555
>

-- 
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/f1ecf513-a684-48f5-af7f-e4ccf2dc6d80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: create-vm.json
Description: application/json

Reply via email to