Merge pull request #2906 from frosario/cable_connected
providers/virtualbox: connect cable for bridged networking
This commit is contained in:
commit
56e85bc989
|
@ -107,7 +107,7 @@ module VagrantPlugins
|
|||
|
||||
if adapter[:bridge]
|
||||
args.concat(["--bridgeadapter#{adapter[:adapter]}",
|
||||
adapter[:bridge]])
|
||||
adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
|
||||
end
|
||||
|
||||
if adapter[:hostonly]
|
||||
|
|
|
@ -107,7 +107,7 @@ module VagrantPlugins
|
|||
|
||||
if adapter[:bridge]
|
||||
args.concat(["--bridgeadapter#{adapter[:adapter]}",
|
||||
adapter[:bridge]])
|
||||
adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
|
||||
end
|
||||
|
||||
if adapter[:hostonly]
|
||||
|
|
|
@ -105,7 +105,7 @@ module VagrantPlugins
|
|||
|
||||
if adapter[:bridge]
|
||||
args.concat(["--bridgeadapter#{adapter[:adapter]}",
|
||||
adapter[:bridge]])
|
||||
adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
|
||||
end
|
||||
|
||||
if adapter[:hostonly]
|
||||
|
|
|
@ -105,7 +105,7 @@ module VagrantPlugins
|
|||
|
||||
if adapter[:bridge]
|
||||
args.concat(["--bridgeadapter#{adapter[:adapter]}",
|
||||
adapter[:bridge]])
|
||||
adapter[:bridge], "--cableconnected#{adapter[:adapter]}", "on"])
|
||||
end
|
||||
|
||||
if adapter[:hostonly]
|
||||
|
|
Loading…
Reference in New Issue