The docs typo'd the nic_type parameter

The parameter name in the VirtualBox provider source is nic_type, not nictype.

The typo is probably caused by the fact that the parameter maps to nictype args in the VirtualBox CLI.
This commit is contained in:
Victor Costan 2015-08-15 06:19:51 -04:00
parent cd25b820c4
commit 6f59c8bb54
1 changed files with 3 additions and 3 deletions

View File

@ -36,8 +36,8 @@ end
## VirtualBox NIC Type ## VirtualBox NIC Type
You can specify a specific nictype for the created network interface You can specify a specific NIC type for the created network interface
by using the `nictype` parameter. This isn't prefixed by `virtualbox__` by using the `nic_type` parameter. This isn't prefixed by `virtualbox__`
for legacy reasons, but is VirtualBox-specific. for legacy reasons, but is VirtualBox-specific.
This is an advanced option and should only be used if you know what This is an advanced option and should only be used if you know what
@ -48,6 +48,6 @@ Example:
```ruby ```ruby
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.network "private_network", ip: "192.168.50.4", config.vm.network "private_network", ip: "192.168.50.4",
nictype: "virtio" nic_type: "virtio"
end end
``` ```