Fix typo and use keyword argument syntax for consistency.

This commit is contained in:
Meitar M 2020-03-06 17:44:51 -05:00 committed by GitHub
parent 0361f9aa72
commit 9951656cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,14 +15,14 @@ description: |-
By default, private networks are [host-only networks](https://www.virtualbox.org/manual/ch06.html#network_hostonly),
because those are the easiest to work with. In VirtualBox, since you can
create multiple host-only networks, it is also possible to specify which
host-only network you want to the Vagrant Virtualbox provider to use for
host-only network you want the Vagrant VirtualBox provider to use for
a given interface. To do this, use the `:name` symbol with the name of
the host-only interface to use.
```ruby
Vagrant.configure("2") do |config|
config.vm.network "private_network", type: "dhcp",
:name => "vboxnet3"
name: => "vboxnet3"
end
```