Add documentation entry for init command --template flag

This commit is contained in:
Chris Roberts 2017-12-13 15:59:45 -08:00
parent cca459d823
commit 3a5729015a
2 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,7 @@ module VagrantPlugins
options[:output] = output options[:output] = output
end 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 options[:template] = template
end end
end end

View File

@ -36,6 +36,8 @@ setting in the created Vagrantfile.
* `--output FILE` - This will output the Vagrantfile to the given file. * `--output FILE` - This will output the Vagrantfile to the given file.
If this is "-", the Vagrantfile will be sent to stdout. If this is "-", the Vagrantfile will be sent to stdout.
* `--template FILE` - Provide a custom ERB template for generating the Vagrantfile.
## Examples ## Examples
Create a base Vagrantfile: Create a base Vagrantfile: