Very strange thing. I had some entries in vmx_data:

        "ethernet0.present" : "TRUE",

        "ethernet0.startConnected" : "TRUE",

        "ethernet0.virtualdev" : "vmxnet3",

        "ethernet0.networkName" : "Network 1",


I had to reduce these to

        "ethernet0.virtualdev" : "vmxnet3",

and then my vm got an ip address. Everything is working now.
If I get some time, I'll do a clean build and post a summary of all the 
things I had to do to get vmware working correctly.

On Friday, August 19, 2016 at 4:15:54 AM UTC-5, Alvaro Miranda Aguilera 
wrote:
>
> the vm gets ip now ??
>
> On Fri, Aug 19, 2016 at 12:35 AM, <[email protected] <javascript:>> wrote:
>
>> So far none of the problems have been packer related. They've all been 
>> vmware and vmware gives horrible logs.
>>
>>
>> On Thursday, August 18, 2016 at 5:33:35 PM UTC-5, [email protected] wrote:
>>>
>>> I still can't build my vmx. The system is timing out while waiting for 
>>> ssh. I've logged into the box and found that it never gets an ip address. 
>>>
>>> I've installed more X11 packages, but not sure that I needed to.
>>> You cannot connect to VNC using OSX's vnc viewer. It doesn't work with 
>>> password-less connections. I installed realvnc's viewer and was able to 
>>> connect.
>>>  
>>> I was missing a kernel module that vmware needs:
>>>   yum install kernel-devel
>>>   yum install gcc
>>>   vmware-modconfig --console --install-all
>>>
>>>
>>>   yum groupinstall "X Window System"
>>>   yum groupinstall "Fonts"
>>>   yum groupinstall "Gnome Desktop"
>>>
>>> Seems strange I have to install more dependencies and build kernel 
>>> modules after I install vmware in order to get it to run.
>>>
>>> On Thursday, August 18, 2016 at 11:15:57 AM UTC-5, [email protected] 
>>> wrote:
>>>>
>>>> I installed a couple of packages and got vmware to get further:
>>>>    yum install libXinerama
>>>>    yum install libXinerama-devel
>>>>   yum install libXcursor
>>>>
>>>> Then, I failed until I added "headless": true to my template.json
>>>> Now the headless vmrun command is failing:
>>>>
>>>> # /usr/bin/vmrun -T ws start build/vmx/cats-fs.vmx nogui
>>>> Error: The operation was canceled
>>>>
>>>> On Thursday, August 18, 2016 at 10:47:56 AM UTC-5, [email protected] 
>>>> wrote:
>>>>>
>>>>> I got:
>>>>>
>>>>> /usr/lib/vmware/bin/vmware-vmx: error while loading shared libraries: 
>>>>> libXinerama.so.1: cannot open shared object file: No such file or 
>>>>> directory
>>>>>
>>>>> So it looks like I'm going on a dependency hunt for vmware. 
>>>>>
>>>>> Thank you
>>>>>
>>>>> On Thursday, August 18, 2016 at 10:08:55 AM UTC-5, Rickard von Essen 
>>>>> wrote:
>>>>>>
>>>>>> What's the output of:
>>>>>> /usr/lib/vmware/bin/vmware-vmx -v
>>>>>> ?
>>>>>>
>>>>>> On 18 August 2016 at 16:46, <[email protected]> wrote:
>>>>>>
>>>>>>> Thank you, Rickard
>>>>>>>
>>>>>>> The requested gist is here: 
>>>>>>> https://gist.github.com/dshields/c1850fbd807188943084d13a9fc5a67e
>>>>>>>
>>>>>>> The build runs find under vmware fusion. I have run with debug. Even 
>>>>>>> at debug level 10 I don't see what command is being run.
>>>>>>>
>>>>>>>
>>>>>>> On Wednesday, August 17, 2016 at 11:09:47 PM UTC-5, Rickard von 
>>>>>>> Essen wrote:
>>>>>>>>
>>>>>>>> Try running with: PACKER_LOG=1 packer build template.json 
>>>>>>>>
>>>>>>>> That will give you all the commands packer run. If that doesn't 
>>>>>>>> help. Gist the log and send a follow up here with a link. 
>>>>>>>>
>>>>>>>> / Rickard 
>>>>>>>>
>>>>>>>> On Aug 18, 2016 12:16 AM, <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> I'm running on Linux with a licensed copy of VMware workstation 12 
>>>>>>>>> for linux and get the following when I try to build:
>>>>>>>>>
>>>>>>>>>     Build 'cats-fs' errored: Cloning is not supported with VMware 
>>>>>>>>> WS version 9. Please use VMware WS version 10, or greater.
>>>>>>>>>
>>>>>>>>> I ran the following clone command and it seemed to work:
>>>>>>>>>     vmrun -T ws clone build/centos72/centos72.vmx build/test 
>>>>>>>>> -cloneName test full
>>>>>>>>>
>>>>>>>>> I set the options to debug packer, and I get debug output, but it 
>>>>>>>>> doesn't show me what VMware commands it is running.
>>>>>>>>>
>>>>>>>>> Thanks for any help
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> 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/662fa272-8779-4465-bdfa-e54b5cad1f26%40googlegroups.com
>>>>>>>>>  
>>>>>>>>> <https://groups.google.com/d/msgid/packer-tool/662fa272-8779-4465-bdfa-e54b5cad1f26%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/2df575a9-a837-4749-abb7-5f9ffedc19f1%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/packer-tool/2df575a9-a837-4749-abb7-5f9ffedc19f1%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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/14bea955-b819-4e03-b6bc-0474cae9bf12%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/14bea955-b819-4e03-b6bc-0474cae9bf12%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> 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/18e020dc-e5b7-4c0d-a10f-7e859be2e12b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to