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:
commit
ca38ee40d1
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue