From a20ee32c9aa296fd5f21ac14f49d2ef26307bcd4 Mon Sep 17 00:00:00 2001 From: Justin Lynn Date: Thu, 5 Apr 2012 09:48:41 -0700 Subject: [PATCH] Need to correctly configure the template's options. pull the config through the bridged interface configuration routine template debugging add another test line set the setting in the correct areas, yay dynamic method calls --- lib/vagrant/action/vm/network.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/action/vm/network.rb b/lib/vagrant/action/vm/network.rb index 33801c5d7..f98f1f1f5 100644 --- a/lib/vagrant/action/vm/network.rb +++ b/lib/vagrant/action/vm/network.rb @@ -389,13 +389,14 @@ module Vagrant :type => :bridged, :bridge => chosen_bridge, :mac_address => config[:mac], - :nic_type => config[:nic_type], + :nic_type => config[:nic_type] } end def bridged_network_config(config) return { - :type => :dhcp + :type => :dhcp, + :use_dhcp_assigned_default_route => config[:use_dhcp_assigned_default_route] } end end