Even when I insert the command as below it still fails, but if i run it 
from CMD locally its fine

  "post-processors": [
    {
    "type":"shell-local",
    "inline":"ovftool -tt=ova 
vi://root:[email protected]/Windows2012R2v1-2017-07 ovaexport1111.ova"
    }

==> Windows2012R2v1-2017-07: Running post-processor: shell-local
==> Windows2012R2v1-2017-07 (shell-local): Post processing with local shell 
script: C:\Users\ADMINI~1.ISS\AppData\Local\
Temp\packer-shell402030443
Build 'Windows2012R2v1-2017-07' errored: 1 error(s) occurred:

* Post-processor failed: Error executing script: 
C:\Users\ADMINI~1.ISS\AppData\Local\Temp\packer-shell402030443

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/0d4267bb-dd48-4e9f-bc0f-6e784e06cf30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to