Merge pull request #17384 from mavenugo/42def
Simple Info log to indicate the chosen IP Address for the default bridge
This commit is contained in:
commit
3f11360a54
1 changed files with 2 additions and 0 deletions
|
@ -445,6 +445,8 @@ func initBridgeDriver(controller libnetwork.NetworkController, config *Config) e
|
|||
return err
|
||||
}
|
||||
ipamV4Conf.Gateway = ip.String()
|
||||
} else if bridgeName == bridge.DefaultBridgeName && ipamV4Conf.PreferredPool != "" {
|
||||
logrus.Infof("Default bridge (%s) is assigned with an IP address %s. Daemon option --bip can be used to set a preferred IP address", bridgeName, ipamV4Conf.PreferredPool)
|
||||
}
|
||||
|
||||
if config.Bridge.FixedCIDR != "" {
|
||||
|
|
Loading…
Add table
Reference in a new issue