use :bridge instead of network_name to align with site docs

This commit is contained in:
Matt Wrock 2015-01-17 11:39:32 -08:00
parent 0b6e65380a
commit 87195f8336
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ module VagrantPlugins
env[:machine].config.vm.networks.each do |type, opts| env[:machine].config.vm.networks.each do |type, opts|
next if type != :public_network && type != :private_network next if type != :public_network && type != :private_network
switchToFind = opts[:network_name] switchToFind = opts[:bridge]
if switchToFind if switchToFind
puts "Looking for switch with name: #{switchToFind}" puts "Looking for switch with name: #{switchToFind}"