output ovf file

23 views
Skip to first unread message

Mosby Simmons

unread,
Feb 12, 2020, 7:45:41 PM2/12/20
to Packer
How do you output an ovf file from virtualbox-iso builder?

I tried this:
  "format": "ovf",
  "output_directory": "c:\\packer\\output"

I see the file as its building but then it disappears.

Thanks 

Rickard von Essen

unread,
Feb 13, 2020, 2:16:37 AM2/13/20
to packe...@googlegroups.com
That should work. Do you have any post-processors? 

--
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/f6a9af5f-29c5-4412-861e-22a1f067ed5f%40googlegroups.com.

Mosby Simmons

unread,
Feb 13, 2020, 12:09:35 PM2/13/20
to Packer
Thanks for the response.  Yes, just a vagrant post-process:

  "post-processors": [
    {
      "type": "vagrant",
      "keep_input_artifact": false,
      "output": "windows_10_{{.Provider}}.box",
      "vagrantfile_template": "vagrantfile-windows_10.template"
    }
  ],


On Wednesday, February 12, 2020 at 11:16:37 PM UTC-8, Rickard von Essen wrote:
That should work. Do you have any post-processors? 

On Thu, Feb 13, 2020, 01:45 Mosby Simmons <simmo...@gmail.com> wrote:
How do you output an ovf file from virtualbox-iso builder?

I tried this:
  "format": "ovf",
  "output_directory": "c:\\packer\\output"

I see the file as its building but then it disappears.

Thanks 

--
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 packe...@googlegroups.com.

Rickard von Essen

unread,
Feb 13, 2020, 2:32:45 PM2/13/20
to packe...@googlegroups.com
Change keep_input_artifact to true and you will also have the ovf file after the build. 

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/0cb0de85-e5dc-4e62-a6a1-782eb3b0d01a%40googlegroups.com.

Mosby Simmons

unread,
Feb 14, 2020, 11:23:45 AM2/14/20
to Packer
Reply all
Reply to author
Forward
0 new messages