Merge pull request #3365 from oscarrenalias/master

providers/virtualbox: Fixes for cable not connected in VirtualBox 4.3 (and 4.2)
This commit is contained in:
Mitchell Hashimoto 2014-04-01 21:40:35 -07:00
commit ca38ee40d1
2 changed files with 4 additions and 4 deletions

View File

@ -110,12 +110,12 @@ module VagrantPlugins
if adapter[:hostonly]
args.concat(["--hostonlyadapter#{adapter[:adapter]}",
adapter[:hostonly]])
adapter[:hostonly], "--cableconnected#{adapter[:adapter]}", "on"])
end
if adapter[:intnet]
args.concat(["--intnet#{adapter[:adapter]}",
adapter[:intnet]])
adapter[:intnet], "--cableconnected#{adapter[:adapter]}", "on"])
end
if adapter[:mac_address]

View File

@ -110,12 +110,12 @@ module VagrantPlugins
if adapter[:hostonly]
args.concat(["--hostonlyadapter#{adapter[:adapter]}",
adapter[:hostonly]])
adapter[:hostonly], "--cableconnected#{adapter[:adapter]}", "on"])
end
if adapter[:intnet]
args.concat(["--intnet#{adapter[:adapter]}",
adapter[:intnet]])
adapter[:intnet], "--cableconnected#{adapter[:adapter]}", "on"])
end
if adapter[:mac_address]