diff --git a/plugins/commands/init/command.rb b/plugins/commands/init/command.rb index a86c15494..a55ad2b1d 100644 --- a/plugins/commands/init/command.rb +++ b/plugins/commands/init/command.rb @@ -40,7 +40,7 @@ module VagrantPlugins options[:output] = output end - o.on("--template FILE", String, "Path to Vagrantfile template") do |template| + o.on("--template FILE", String, "Path to custom Vagrantfile template") do |template| options[:template] = template end end diff --git a/website/source/docs/cli/init.html.md b/website/source/docs/cli/init.html.md index 33714b18b..c66c91102 100644 --- a/website/source/docs/cli/init.html.md +++ b/website/source/docs/cli/init.html.md @@ -36,6 +36,8 @@ setting in the created Vagrantfile. * `--output FILE` - This will output the Vagrantfile to the given file. If this is "-", the Vagrantfile will be sent to stdout. +* `--template FILE` - Provide a custom ERB template for generating the Vagrantfile. + ## Examples Create a base Vagrantfile: