Windows: Hook up user supplied MAC
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
97515a35ca
commit
a207ce6ae4
1 changed files with 1 additions and 2 deletions
|
@ -77,9 +77,8 @@ func populateCommand(c *Container, env []string) error {
|
|||
case "none":
|
||||
case "default", "": // empty string to support existing containers
|
||||
if !c.Config.NetworkDisabled {
|
||||
network := c.NetworkSettings
|
||||
en.Interface = &execdriver.NetworkInterface{
|
||||
MacAddress: network.MacAddress,
|
||||
MacAddress: c.Config.MacAddress,
|
||||
Bridge: c.daemon.config.Bridge.VirtualSwitchName,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue