Merge pull request #4207 from stevemcc/enhancement/virtualbox_36_nic

Changed hardcoded number of interfaces, fixes #4206.
This commit is contained in:
Mitchell Hashimoto 2014-08-06 09:51:30 -07:00
commit 3b2e3b6a69
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module VagrantPlugins
network_adapters_config = env[:machine].provider_config.network_adapters.dup network_adapters_config = env[:machine].provider_config.network_adapters.dup
# Assign the adapter slot for each high-level network # Assign the adapter slot for each high-level network
available_slots = Set.new(1..8) available_slots = Set.new(1..36)
network_adapters_config.each do |slot, _data| network_adapters_config.each do |slot, _data|
available_slots.delete(slot) available_slots.delete(slot)
end end