Add documentation entry for init command --template flag
This commit is contained in:
parent
cca459d823
commit
3a5729015a
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue