Changed hardcoded number of interfaces, fixes #4206.

This commit is contained in:
Steve McConville 2014-07-17 09:52:57 +01:00
parent 0a5f6bb77e
commit de7ed34120
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
# 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|
available_slots.delete(slot)
end