lib/vagrant/driver/virtualbox_4_1.rb in vagrantup-0.9.4 vs lib/vagrant/driver/virtualbox_4_1.rb in vagrantup-0.9.5
- old
+ new
@@ -110,9 +110,13 @@
if adapter[:mac_address]
args.concat(["--macaddress#{adapter[:adapter]}",
adapter[:mac_address]])
end
+
+ if adapter[:nic_type]
+ args.concat(["--nictype#{adapter[:adapter]}", adapter[:nic_type].to_s])
+ end
end
execute("modifyvm", @uuid, *args)
end