Hi Alvaro,
Thank you for responding. I have four total post-processors running, as shown below. If I use the double brackets as you mentioned previously, and try them around all four post-processors, it doesn’t work. If I double-bracket around just vsphere and vsphere-template, and remove vagrant and ovftool blocks, it works. Is there any way to do all four post-processors? I’m not sure how to format it.
"post-processors": [
{
"type": "vagrant",
},
{
"type": "ovftool",
},
{
"type": "vsphere",
},
{
"type": "vsphere-template",
}
]
--
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/CAHqq0ewK4OtFZfn5jZwtn2-mw0q1hNB9bTMvYp5zoP%3DiDqtfeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I got it figured out. Thank you for pointing me in the right direction!
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/E495E980-D937-42B8-9A80-06DA9175004C%40longviewbits.com.
"post-processors": [
[
{
"type": "vagrant",
},
{
"type": "vsphere",
},
{
"type": "vsphere-template",
}
]
]
The reason to have it in the [] block is to pass the artifact from the previous post-processor - specially in case of using the vSphere and the vSphere-template (to mark it as template it needs to know what was processed by the vSphere post processor) I really feel that you don't need the ovftool processor.
Try this within the array block of [] and it should work.
Thanks
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/CAHqq0ewK4OtFZfn5jZwtn2-mw0q1hNB9bTMvYp5zoP%3DiDqtfeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/E495E980-D937-42B8-9A80-06DA9175004C%40longviewbits.com.To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
I’m using the ovftool post-processor because I also want to generate an OVA for use outside of vSphere. Are you saying I can still do that with the vSphere plugin?
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/CAHqq0ewK4OtFZfn5jZwtn2-mw0q1hNB9bTMvYp5zoP%3DiDqtfeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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/E495E980-D937-42B8-9A80-06DA9175004C%40longviewbits.com.
For more options, visit https://groups.google.com/d/optout.
--
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/CADg8VGrAioK_nKrQf1tEAwiYEPsY4cfM9SVeNMpgmDz5zCZT1Q%40mail.gmail.com.
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/CAHqq0ewK4OtFZfn5jZwtn2-mw0q1hNB9bTMvYp5zoP%3DiDqtfeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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/E495E980-D937-42B8-9A80-06DA9175004C%40longviewbits.com.
For more options, visit https://groups.google.com/d/optout.
--
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/CADg8VGrAioK_nKrQf1tEAwiYEPsY4cfM9SVeNMpgmDz5zCZT1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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/993328A8-4A3E-47FC-A2E6-D19D189AE7F1%40longviewbits.com.