From 8f996cd4de3370d57e059cc69fc6b9ce8cc4ddf4 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Wed, 30 Oct 2019 13:36:56 -0700 Subject: [PATCH] update docs --- builder/vagrant/builder.go | 6 +++--- .../partials/builder/vagrant/_Config-not-required.html.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/builder/vagrant/builder.go b/builder/vagrant/builder.go index 6804c55b2..a922ed017 100644 --- a/builder/vagrant/builder.go +++ b/builder/vagrant/builder.go @@ -88,9 +88,9 @@ type Config struct { // What box version to use when initializing Vagrant. BoxVersion string `mapstructure:"box_version" required:"false"` // a path to a golang template for a vagrantfile. Our default template can - // be found here. So far the only template variables available to you are - // {{ .BoxName }} and {{ .SyncedFolder }}, which correspond to the Packer - // options box_name and synced_folder. + // be found here. The template variables available to you are + // {{ .BoxName }}, {{ .SyncedFolder }}, and {{.InsertKey}}, which + // correspond to the Packer options box_name, synced_folder, and insert_key. Template string `mapstructure:"template" required:"false"` SyncedFolder string `mapstructure:"synced_folder"` diff --git a/website/source/partials/builder/vagrant/_Config-not-required.html.md b/website/source/partials/builder/vagrant/_Config-not-required.html.md index 6d4ebd969..644bbaaca 100644 --- a/website/source/partials/builder/vagrant/_Config-not-required.html.md +++ b/website/source/partials/builder/vagrant/_Config-not-required.html.md @@ -33,9 +33,9 @@ - `box_version` (string) - What box version to use when initializing Vagrant. - `template` (string) - a path to a golang template for a vagrantfile. Our default template can - be found here. So far the only template variables available to you are - {{ .BoxName }} and {{ .SyncedFolder }}, which correspond to the Packer - options box_name and synced_folder. + be found here. The template variables available to you are + {{ .BoxName }}, {{ .SyncedFolder }}, and {{.InsertKey}}, which + correspond to the Packer options box_name, synced_folder, and insert_key. - `synced_folder` (string) - Synced Folder - `skip_add` (bool) - Don't call "vagrant add" to add the box to your local environment; this