Merge pull request #17384 from mavenugo/42def
Simple Info log to indicate the chosen IP Address for the default bridge Upstream-commit: 3f11360a54499ad2d1c873c7e502b414d907528d Component: engine
This commit is contained in:
@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user