2013-06-12 13:05:45 -04:00
|
|
|
---
|
|
|
|
layout: "docs"
|
2013-12-26 19:16:30 -05:00
|
|
|
page_title: "VirtualBox Builder"
|
2014-10-20 16:47:30 -04:00
|
|
|
description: |-
|
|
|
|
The VirtualBox Packer builder is able to create VirtualBox virtual machines and export them in the OVA or OVF format.
|
2013-06-12 13:05:45 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
# VirtualBox Builder
|
|
|
|
|
2014-10-20 16:47:30 -04:00
|
|
|
The VirtualBox Packer builder is able to create [VirtualBox](http://www.virtualbox.org)
|
2013-12-22 18:44:43 -05:00
|
|
|
virtual machines and export them in the OVA or OVF format.
|
2013-06-12 13:05:45 -04:00
|
|
|
|
2013-12-22 18:44:43 -05:00
|
|
|
Packer actually comes with multiple builders able to create VirtualBox
|
|
|
|
machines, depending on the strategy you want to use to build the image.
|
|
|
|
Packer supports the following VirtualBox builders:
|
2013-06-12 13:05:45 -04:00
|
|
|
|
2013-12-22 18:44:43 -05:00
|
|
|
* [virtualbox-iso](/docs/builders/virtualbox-iso.html) - Starts from
|
|
|
|
an ISO file, creates a brand new VirtualBox VM, installs an OS,
|
|
|
|
provisions software within the OS, then exports that machine to create
|
|
|
|
an image. This is best for people who want to start from scratch.
|
2013-06-12 13:05:45 -04:00
|
|
|
|
2013-12-22 18:44:43 -05:00
|
|
|
* [virtualbox-ovf](/docs/builders/virtualbox-ovf.html) - This builder
|
|
|
|
imports an existing OVF/OVA file, runs provisioners on top of that VM,
|
|
|
|
and exports that machine to create an image. This is best if you have
|
|
|
|
an existing VirtualBox VM export you want to use as the source. As an
|
|
|
|
additional benefit, you can feed the artifact of this builder back into
|
|
|
|
itself to iterate on a machine.
|