From c0338dfa4b315ca6399f1489991dd444b13f87d2 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Mon, 20 Feb 2012 12:16:10 +0100 Subject: [PATCH 1/2] NIC type can also be defined for host-only adapters --- lib/vagrant/action/vm/network.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/action/vm/network.rb b/lib/vagrant/action/vm/network.rb index e79da8c7e..d2e63b76b 100644 --- a/lib/vagrant/action/vm/network.rb +++ b/lib/vagrant/action/vm/network.rb @@ -252,7 +252,8 @@ module Vagrant :adapter => config[:adapter], :type => :hostonly, :hostonly => interface[:name], - :mac_address => config[:mac] + :mac_address => config[:mac], + :nic_type => config[:nic_type] } end From 30b862e795d967659456dae9579dabbfcbb1864c Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Mon, 20 Feb 2012 12:18:52 +0100 Subject: [PATCH 2/2] Changelog updated --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92118f11b..04b87ddd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ - Fix edge case where an exception could be raised in networking code. [GH-742] - Add missing translation for the "guru meditation" state. [GH-745] - Check that VirtualBox exists before certain commands. [GH-746] + - NIC type can be defined for host-only network adapters. ## 0.9.7 (February 9, 2012)