Re: Error ovftool not found

1,016 views
Skip to first unread message
Message has been deleted

Ronnie

unread,
Sep 19, 2016, 5:28:51 PM9/19/16
to Packer

vmware-iso: Error ovftool not found: exec: "ovftool": executable file not found in $PATH


On Monday, September 19, 2016 at 2:26:06 PM UTC-7, Ronnie wrote:
Hello, 
I get this error when I run my packer.json file.

2016/09/19 14:15:04 remote command exited with '0': vim-cmd vmsvc/reload 367

2016/09/19 14:15:04 ui error: ==> vmware-iso: Error ovftool not found: exec: "ovftool": executable file not found in $PATH

2016/09/19 14:15:04 packer: 2016/09/19 14:15:04 opening new ssh session

==> vmware-iso: Error ovftool not found: exec: "ovftool": executable file not found in $PATH

2016/09/19 14:15:04 packer: 2016/09/19 14:15:04 starting remote command: vim-cmd vmsvc/power.getstate 367

2016/09/19 14:15:04 packer: 2016/09/19 14:15:04 remote command exited with '0': vim-cmd vmsvc/power.getstate 367


Can someone please explain to me what could have caused this? Thanks

Alvaro Miranda Aguilera

unread,
Sep 19, 2016, 5:37:51 PM9/19/16
to packe...@googlegroups.com
hello

if you are using vmware-iso remote to build in esx you shouldnt use vsphere post-processor.

if you build locally, and you install ovftool vsphere post-processor can be used to upload to a remote esxi/vsphere box.


not sure what will try to do if you build remote and try to use vsphere which is also remote, so i will say choose one or the other.

hope this make sense

alvaro

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/990317b5-0f72-4ef4-9a70-8ea4adb195ef%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Rickard von Essen

unread,
Sep 19, 2016, 5:38:19 PM9/19/16
to Packer
You don't have the executable ovftool on your path. I'm guessing you're trying to run the vsphere post-processor. 
Reply all
Reply to author
Forward
Message has been deleted
0 new messages