From f5dd9ec604b255ed94312247d6444c6872d03209 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 6 Jul 2015 23:02:11 -0600 Subject: [PATCH] website/docs: document nictype [GH-5812] --- .../source/v2/virtualbox/networking.html.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/website/docs/source/v2/virtualbox/networking.html.md b/website/docs/source/v2/virtualbox/networking.html.md index 037c10140..55e7d4c4c 100644 --- a/website/docs/source/v2/virtualbox/networking.html.md +++ b/website/docs/source/v2/virtualbox/networking.html.md @@ -33,3 +33,21 @@ Vagrant.configure("2") do |config| virtualbox__intnet: "mynetwork" end ``` + +## VirtualBox NIC Type + +You can specify a specific nictype for the created network interface +by using the `nictype` parameter. This isn't prefixed by `virtualbox__` +for legacy reasons, but is VirtualBox-specific. + +This is an advanced option and should only be used if you know what +you're using, since it can cause the network device to not work at all. + +Example: + +```ruby +Vagrant.configure("2") do |config| + config.vm.network "private_network", ip: "192.168.50.4", + nictype: "virtio" +end +```