Merge pull request #5115 from alexlarsson/fix-libcontainer-network-rhel6
Fix libcontainer network support on rhel6
This commit is contained in:
commit
d2ef2bada1
|
@ -50,7 +50,7 @@ func SetInterfaceMaster(name, master string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return netlink.NetworkSetMaster(iface, masterIface)
|
return netlink.AddToBridge(iface, masterIface)
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetDefaultGateway(ip string) error {
|
func SetDefaultGateway(ip string) error {
|
||||||
|
|
Loading…
Reference in New Issue