2013-06-12 10:05:45 -07:00
|
|
|
---
|
2017-06-14 18:04:16 -07:00
|
|
|
description: |
|
2018-10-26 17:02:51 -07:00
|
|
|
The VirtualBox Packer builder is able to create VirtualBox virtual machines and
|
|
|
|
export them in the OVA or OVF format.
|
2015-07-22 19:31:00 -07:00
|
|
|
layout: docs
|
2017-06-14 18:04:16 -07:00
|
|
|
page_title: 'VirtualBox - Builders'
|
|
|
|
sidebar_current: 'docs-builders-virtualbox'
|
2017-03-25 18:13:52 -04:00
|
|
|
---
|
2013-06-12 10:05:45 -07:00
|
|
|
|
|
|
|
# VirtualBox Builder
|
|
|
|
|
2015-07-22 19:31:00 -07:00
|
|
|
The VirtualBox Packer builder is able to create
|
2018-10-26 17:02:51 -07:00
|
|
|
[VirtualBox](https://www.virtualbox.org) virtual machines and export them in
|
|
|
|
the OVA or OVF format.
|
2013-06-12 10:05:45 -07:00
|
|
|
|
2018-10-26 17:02:51 -07: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 10:05:45 -07:00
|
|
|
|
2017-06-14 18:04:16 -07:00
|
|
|
- [virtualbox-iso](/docs/builders/virtualbox-iso.html) - Starts from an ISO
|
2018-10-26 17:02:51 -07:00
|
|
|
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 10:05:45 -07:00
|
|
|
|
2018-10-26 17:02:51 -07: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.
|