VMWare build failing

78 views
Skip to first unread message

Dhatchinamoorthy M

unread,
Jan 30, 2019, 1:25:40 AM1/30/19
to packe...@googlegroups.com
Hello,

Im getting the below error message when i try to create vmdx image

 ui error: Build 'vmware-iso' errored: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors
from each driver are shown below. Please fix at least one driver
to continue:
* exec: "vmware": executable file not found in $PATH
* exec: "vmware": executable file not found in $PATH
* exec: "vmrun": executable file not found in $PATH
* exec: "vmrun": executable file not found in $PATH

Any one help me 

Rickard von Essen

unread,
Jan 30, 2019, 1:49:40 AM1/30/19
to packe...@googlegroups.com
You need to have VMware Workstation/Fusion installed with the listed tools on the PATH.

What OS do you run, which version of VMware do you run, where is it installed and what's your PATH. 

--
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/CAJfgnVGR8ROBVspZgFa%3DobmZ0BR46L%2Ba_ke2DBsJQBDwJux%2ByQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Dhatchinamoorthy M

unread,
Jan 30, 2019, 1:57:12 AM1/30/19
to packe...@googlegroups.com
Hi Rickard,

I have installed VMware player in ubuntu machine and im bale to create vm manually but during build its failing.

My vm is running under ESXi host.

Rickard von Essen

unread,
Jan 30, 2019, 1:59:05 AM1/30/19
to packe...@googlegroups.com
So what's the output of:

which -a vmrun; which -a vmware 


Dhatchinamoorthy M

unread,
Jan 30, 2019, 2:06:50 AM1/30/19
to packe...@googlegroups.com
Hi Rickard,

 which -a vmrun; which -a vmware 

Command not giving any output. Do i need to set path.

Dhatchinamoorthy M

unread,
Jan 30, 2019, 3:38:28 AM1/30/19
to packe...@googlegroups.com
Hi ,

After installed Drivers now im getting below error.
==> vmware-iso: Building and writing VMX file
2019/01/30 16:29:38 ui error: ==> vmware-iso: Could not find netmap conf file: /etc/vmware/netmap.conf
==> vmware-iso: Could not find netmap conf file: /etc/vmware/netmap.conf

Rickard von Essen

unread,
Jan 30, 2019, 4:39:38 AM1/30/19
to packe...@googlegroups.com
I think this file is created if you launch a VM manually from the GUI. Ensure that you have the latest version (1.3.3) of Packer since there have been some bug fixes around finding this file. 

Reply all
Reply to author
Forward
0 new messages