error in vmware

49 views
Skip to first unread message

Enbanathan Elangovan

unread,
Oct 19, 2018, 3:13:25 AM10/19/18
to PNDA Users
when i try to run the command ./packer build -var-file=myenv_conf.json vmware/local/centos_base.json i'm getting the following error


Build 'pnda_template_base' 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


==> Some builds didn't complete successfully and had errors:
--> pnda_template_base: 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


==> Builds finished but no artifacts were created.

Can someone please help on this.

Regards
Enbanathan.E

Jason Vecchio

unread,
Oct 19, 2018, 3:17:26 AM10/19/18
to PNDA Users
Can you share the log? 

Enbanathan Elangovan

unread,
Oct 19, 2018, 3:26:41 AM10/19/18
to PNDA Users
Please find the attached file.
centos_base.log

Jason Vecchio

unread,
Oct 19, 2018, 4:37:11 AM10/19/18
to PNDA Users
Do you add VMware tool in your PATH?


Il giorno venerdì 19 ottobre 2018 09:13:25 UTC+2, Enbanathan Elangovan ha scritto:

Enbanathan Elangovan

unread,
Oct 19, 2018, 5:18:48 AM10/19/18
to PNDA Users
Do you mean to say Vmware ovftool.Yes i have.


On Friday, October 19, 2018 at 12:43:25 PM UTC+5:30, Enbanathan Elangovan wrote:

jérémie Garnier

unread,
Oct 29, 2018, 4:29:20 PM10/29/18
to Enbanathan Elangovan, pnda-...@googlegroups.com
you need more than ovftool if you run in local mode. You will need VMWare Fusion on MacOS for example and I think you will need VMWare server or Player on Windows.
Cheers,

Jérémie

--
You received this message because you are subscribed to the Google Groups "PNDA Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pnda-users+...@googlegroups.com.
To post to this group, send email to pnda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pnda-users/e93ceba0-3f51-4d47-b21d-df1faa7584dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages