add vagrant docs to website

This commit is contained in:
Megan Marsh 2019-03-05 09:31:14 -08:00
parent 0138cfc070
commit 5aa55f194d
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,14 @@
---
description: |
The Vagrant Packer builder is able to launch Vagrant boxes and
re-package them into .box files
layout: docs
page_title: 'Vagrant - Builders'
sidebar_current: 'docs-builders-vagrant'
---
# Vagrant Builder
The Vagrant builder is intended for building new boxes from already-existing The Vagrant builder is intended for building new boxes from already-existing
boxes. Your source should be a URL or path to a .box file or a Vagrant Cloud boxes. Your source should be a URL or path to a .box file or a Vagrant Cloud
box name such as `hashicorp/precise64`. box name such as `hashicorp/precise64`.
@ -19,7 +30,8 @@ by setting the `skip package` option. You can also change the behavior so that
rather than inititalizing a new Vagrant workspace, you use an already defined rather than inititalizing a new Vagrant workspace, you use an already defined
one, by using `global_id` instead of `source_box`. one, by using `global_id` instead of `source_box`.
Required: ## Configuration Reference
### Required:
- `source_path` (string) - URL of the vagrant box to use, or the name of the - `source_path` (string) - URL of the vagrant box to use, or the name of the
vagrant box. `hashicorp/precise64`, `./mylocalbox.box` and vagrant box. `hashicorp/precise64`, `./mylocalbox.box` and
@ -38,7 +50,7 @@ Required:
`source_box`, Packer will skip the Vagrant initialize and add steps, and `source_box`, Packer will skip the Vagrant initialize and add steps, and
simply launch the box directly using the global id. simply launch the box directly using the global id.
Optional: ### Optional:
- `output_dir` (string) - The directory to create that will contain - `output_dir` (string) - The directory to create that will contain
your output box. We always create this directory and run from inside of it to your output box. We always create this directory and run from inside of it to

View File

@ -171,6 +171,9 @@
<li<%= sidebar_current("docs-builders-triton") %>> <li<%= sidebar_current("docs-builders-triton") %>>
<a href="/docs/builders/triton.html">Triton</a> <a href="/docs/builders/triton.html">Triton</a>
</li> </li>
<li<%= sidebar_current("docs-builders-vagrant") %>>
<a href="/docs/builders/vagrant.html">Vagrant</a>
</li>
<li<%= sidebar_current("docs-builders-virtualbox") %>> <li<%= sidebar_current("docs-builders-virtualbox") %>>
<a href="/docs/builders/virtualbox.html">VirtualBox</a> <a href="/docs/builders/virtualbox.html">VirtualBox</a>
<ul class="nav"> <ul class="nav">