diff --git a/.web-docs/components/builder/vagrant/README.md b/.web-docs/components/builder/vagrant/README.md index d1dc9c5a..2342cae8 100644 --- a/.web-docs/components/builder/vagrant/README.md +++ b/.web-docs/components/builder/vagrant/README.md @@ -98,7 +98,7 @@ the Compress post-processor will not work with this builder. - `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. The template variables available to you are + be found [here](https://github.com/hashicorp/packer-plugin-vagrant/blob/main/builder/vagrant/step_create_vagrantfile.go#L39-L54). The template variables available to you are `{{ .BoxName }}`, `{{ .SyncedFolder }}`, and `{{.InsertKey}}`, which correspond to the Packer options box_name, synced_folder, and insert_key. Alternatively, the template variable `{{.DefaultTemplate}}` is available for diff --git a/builder/vagrant/builder.go b/builder/vagrant/builder.go index 8bc2849d..b9a8adb9 100644 --- a/builder/vagrant/builder.go +++ b/builder/vagrant/builder.go @@ -54,7 +54,7 @@ type Config struct { // the global id of a Vagrant box already added to Vagrant on your system. // You can find the global id of your Vagrant boxes using the command // vagrant global-status; your global_id will be a 7-digit number and - // letter comination that you'll find in the leftmost column of the + // letter combination that you'll find in the leftmost column of the // global-status output. If you choose to use global_id instead of // source_box, Packer will skip the Vagrant initialize and add steps, and // simply launch the box directly using the global id. @@ -102,7 +102,7 @@ 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. The template variables available to you are + // be found [here](https://github.com/hashicorp/packer-plugin-vagrant/blob/main/builder/vagrant/step_create_vagrantfile.go#L39-L54). The template variables available to you are // `{{ .BoxName }}`, `{{ .SyncedFolder }}`, and `{{.InsertKey}}`, which // correspond to the Packer options box_name, synced_folder, and insert_key. // Alternatively, the template variable `{{.DefaultTemplate}}` is available for diff --git a/docs-partials/builder/vagrant/Config-not-required.mdx b/docs-partials/builder/vagrant/Config-not-required.mdx index b6d2e709..9a29645d 100644 --- a/docs-partials/builder/vagrant/Config-not-required.mdx +++ b/docs-partials/builder/vagrant/Config-not-required.mdx @@ -45,7 +45,7 @@ - `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. The template variables available to you are + be found [here](https://github.com/hashicorp/packer-plugin-vagrant/blob/main/builder/vagrant/step_create_vagrantfile.go#L39-L54). The template variables available to you are `{{ .BoxName }}`, `{{ .SyncedFolder }}`, and `{{.InsertKey}}`, which correspond to the Packer options box_name, synced_folder, and insert_key. Alternatively, the template variable `{{.DefaultTemplate}}` is available for diff --git a/docs-partials/builder/vagrant/Config-required.mdx b/docs-partials/builder/vagrant/Config-required.mdx index 1a20a83d..5cdc24f2 100644 --- a/docs-partials/builder/vagrant/Config-required.mdx +++ b/docs-partials/builder/vagrant/Config-required.mdx @@ -10,7 +10,7 @@ - `global_id` (string) - the global id of a Vagrant box already added to Vagrant on your system. You can find the global id of your Vagrant boxes using the command vagrant global-status; your global_id will be a 7-digit number and - letter comination that you'll find in the leftmost column of the + letter combination that you'll find in the leftmost column of the global-status output. If you choose to use global_id instead of source_box, Packer will skip the Vagrant initialize and add steps, and simply launch the box directly using the global id.