Hi I am trying to export my final artifact (VMX file on a remote esxi host) to an OVA, this command works if i populate variables manually.
Please see my Template and variables attached. this command works fine: ovftool -tt=ova vi://root:[email protected]/Windows2012R2v4-2017-06 ovaexport.ova this doesn't: "post-processors": [ { "type":"shell-local", "inline":"ovftool/ovftool -tt=ova vi://{{user `esxi_username`}}:{{user `esxi_password`}}@{{user `esxi_host`}}/{{ .Name }} ovaexport1.ova" IF anyone has managed to pass these variables through successfully or can see what i am doing wrong that would be great if you could help.. James -- 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/6fa23ef9-ae7b-4321-b390-85ce47c192a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
packertemplate.json
Description: application/json
esx_variables.json
Description: application/json
