Merge pull request #2906 from frosario/cable_connected

providers/virtualbox: connect cable for bridged networking
This commit is contained in:
Mitchell Hashimoto 2014-02-03 03:05:16 -08:00
commit 56e85bc989
4 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ module VagrantPlugins
if adapter[:bridge] if adapter[:bridge]
args.concat(["--bridgeadapter#{adapter[:adapter]}", args.concat(["--bridgeadapter#{adapter[:adapter]}",
adapter[:bridge]]) adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
end end
if adapter[:hostonly] if adapter[:hostonly]

View File

@ -107,7 +107,7 @@ module VagrantPlugins
if adapter[:bridge] if adapter[:bridge]
args.concat(["--bridgeadapter#{adapter[:adapter]}", args.concat(["--bridgeadapter#{adapter[:adapter]}",
adapter[:bridge]]) adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
end end
if adapter[:hostonly] if adapter[:hostonly]

View File

@ -105,7 +105,7 @@ module VagrantPlugins
if adapter[:bridge] if adapter[:bridge]
args.concat(["--bridgeadapter#{adapter[:adapter]}", args.concat(["--bridgeadapter#{adapter[:adapter]}",
adapter[:bridge]]) adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
end end
if adapter[:hostonly] if adapter[:hostonly]

View File

@ -105,7 +105,7 @@ module VagrantPlugins
if adapter[:bridge] if adapter[:bridge]
args.concat(["--bridgeadapter#{adapter[:adapter]}", args.concat(["--bridgeadapter#{adapter[:adapter]}",
adapter[:bridge]]) adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
end end
if adapter[:hostonly] if adapter[:hostonly]