From de7ed34120ef1e3772932c1d7507053d29af7444 Mon Sep 17 00:00:00 2001 From: Steve McConville Date: Thu, 17 Jul 2014 09:52:57 +0100 Subject: [PATCH] Changed hardcoded number of interfaces, fixes #4206. --- plugins/providers/virtualbox/action/network.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/virtualbox/action/network.rb b/plugins/providers/virtualbox/action/network.rb index ee2c73cf0..0b006360d 100644 --- a/plugins/providers/virtualbox/action/network.rb +++ b/plugins/providers/virtualbox/action/network.rb @@ -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