Autostart and activate networks that are not already autostarted or activated

This commit is contained in:
Brian Pitts
2013-09-26 21:46:01 -05:00
parent 26d7ea2a6f
commit 4c48097b45

View File

@@ -76,8 +76,8 @@ module VagrantPlugins
end
end
autostart_network if @interface_network[:autostart].nil?
activate_network if @interface_network[:active].nil?
autostart_network if !@interface_network[:autostart]
activate_network if !@interface_network[:active]
end
@app.call(env)