vmware-vmx Builder Cloned VMWare won't boot

123 views
Skip to first unread message

Mic Le

unread,
Feb 22, 2016, 12:16:45 PM2/22/16
to Packer
Hi All,

I am trying to use VMWare builder of type `vmware-vmx`.

My template section looks like this:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
"builders": [
    {
      "type": "vmware-vmx",
      "source_path": "/Users/user1/win81.vmwarevm/win81.vmx",
      "headless": false,
      "boot_wait": "2m",
      "ssh_username": "user",
      "ssh_password": "password",
      "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
      "vnc_port_min": 5900,
      "vnc_port_max": 5980,
      "vmx_data": {
        "RemoteDisplay.vnc.enabled": "false",
        "RemoteDisplay.vnc.port": "5900",
        "memsize": "2048",
        "numvcpus": "2",
        "scsi0.virtualDev": "lsisas1068"
      }
    }
  ]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The packer build log looks like this:

==> vmware-vmx: Cloning source VM...
==> vmware-vmx: Waiting 2m0s for boot...


The VM wont boot, even after a manual retry.

The end of VMWare log inside the `output-vmware-vmx` directory looks like this:


2016-02-22T09:00:34.546-08:00| mks| I120: Error: Encountered Apple bug #5202831.  Disconnecting.
2016-02-22T09:00:34.546-08:00| mks| I120: SOCKET 6 (191) recv detected client closed connection
2016-02-22T09:00:34.546-08:00| mks| I120: SOCKET 6 (191) VNC Remote Disconnect: socket closed.
2016-02-22T09:01:34.821-08:00| vmx| I120: GuestRpcSendTimedOut: message to toolbox timed out.

Please advise.

Thanks!

Alvaro Miranda Aguilera

unread,
Feb 22, 2016, 7:02:00 PM2/22/16
to packe...@googlegroups.com
Is SSH configured in that Box ? or should be using WinRM ?

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/dd7b631e-df64-4226-ad11-a6cde71c3a35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages