Hello all,
I have been having issues trying to get vmware-vmx working. I have tried a
few options but then tried to use the basic script that is posted on the
packer site. It states this this basic code works.
https://www.packer.io/docs/builders/vmware/vmx (Basic Example)
The following is my code that i am trying to run
{
"builders": [
{
"type": "vmware-vmx",
"source_path": "D:/Virtual Machines/CENT7/CENT7.vmx",
"ssh_username": "root",
"ssh_password": "Password",
"shutdown_command": "shutdown -P now"
}
]
}
The clone VM comes up fine on VMware Workstation 15.6. It picks up VMnet8
as expected. IP address is assigned via DHCP. Packer waits for SSH
connection. I can login to the clone VM manually.
The following is the messages i get when i run the code:
==> vmware-vmx: Cloning source VM...
==> vmware-vmx: Starting virtual machine...
==> vmware-vmx: Waiting 10s for boot...
==> vmware-vmx: Connecting to VM via VNC (127.0.0.1:5958)
==> vmware-vmx: Typing the boot command over VNC...
==> vmware-vmx: Using ssh communicator to connect: 192,168.10.131
==> vmware-vmx: Waiting for SSH to become available...
==> vmware-vmx: Timeout waiting for SSH.
==> vmware-vmx: Stopping virtual machine...
==> vmware-vmx: Deleting output directory...
Build 'vmware-vmx' errored: Timeout waiting for SSH.
==> Some builds didn't complete successfully and had errors:
--> vmware-vmx: Timeout waiting for SSH.
It could be that I am missing something. I tried adding ssh_host but that
does not work as expected.
--
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/hashicorp/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/8ba1d7cf-2cf6-41ae-81d3-06102936ae1fo%40googlegroups.com.