From 0fb89ff4c317ba93cb8bad5bb53923b709dd2340 Mon Sep 17 00:00:00 2001 From: Davi Vidal Date: Thu, 7 Mar 2019 15:09:30 +0100 Subject: [PATCH 1/2] Fixes dead link --- website/source/docs/builders/vagrant.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/builders/vagrant.html.md b/website/source/docs/builders/vagrant.html.md index 5d0b231bd..e0b9ceedb 100644 --- a/website/source/docs/builders/vagrant.html.md +++ b/website/source/docs/builders/vagrant.html.md @@ -33,7 +33,7 @@ one, by using `global_id` instead of `source_box`. ## 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 `https://example.com/my-box.box` are all valid source boxes. If your source is a .box file, whether locally or from a URL like the latter example @@ -72,7 +72,7 @@ one, by using `global_id` instead of `source_box`. - `vagrantfile_template` (string) - a path to a golang template for a vagrantfile. Our default template can be found - [here](https://github.com/hashicorp/packer/tree/master/builder/vagrant/step_initialize_vagrant.go#L23-L30). So far the only template variables available to you are {{ .BoxName }} and + [here](https://github.com/hashicorp/packer/tree/master/builder/vagrant/step_create_vagrantfile.go#L23-L30). So far the only template variables available to you are {{ .BoxName }} and {{ .SyncedFolder }}, which correspond to the Packer options `box_name` and `synced_folder` From c207a84cb841f0ec2e692e8b964c1b387423c0aa Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Thu, 7 Mar 2019 16:19:29 +0100 Subject: [PATCH 2/2] Update website/source/docs/builders/vagrant.html.md Co-Authored-By: davividal --- website/source/docs/builders/vagrant.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/builders/vagrant.html.md b/website/source/docs/builders/vagrant.html.md index e0b9ceedb..a5dad34fd 100644 --- a/website/source/docs/builders/vagrant.html.md +++ b/website/source/docs/builders/vagrant.html.md @@ -72,7 +72,7 @@ one, by using `global_id` instead of `source_box`. - `vagrantfile_template` (string) - a path to a golang template for a vagrantfile. Our default template can be found - [here](https://github.com/hashicorp/packer/tree/master/builder/vagrant/step_create_vagrantfile.go#L23-L30). So far the only template variables available to you are {{ .BoxName }} and + [here](https://github.com/hashicorp/packer/blob/a6d1d852bb0643e3593cc5d3dfe5ed80c4409b65/builder/vagrant/step_create_vagrantfile.go#L23-L30). So far the only template variables available to you are {{ .BoxName }} and {{ .SyncedFolder }}, which correspond to the Packer options `box_name` and `synced_folder`