mirror of
https://github.com/clearlinux/docker.git
synced 2026-05-18 20:53:53 +00:00
Merge pull request #5946 from crosbymichael/lxc-host-net
Fix network mode for lxc 1.0
This commit is contained in:
@@ -15,7 +15,9 @@ lxc.network.type = veth
|
||||
lxc.network.link = {{.Network.Interface.Bridge}}
|
||||
lxc.network.name = eth0
|
||||
lxc.network.mtu = {{.Network.Mtu}}
|
||||
{{else if not .Network.HostNetworking}}
|
||||
{{else if .Network.HostNetworking}}
|
||||
lxc.network.type = none
|
||||
{{else}}
|
||||
# network is disabled (-n=false)
|
||||
lxc.network.type = empty
|
||||
lxc.network.flags = up
|
||||
|
||||
Reference in New Issue
Block a user