mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update lxc_template.go
If networking is disabled, but then pipework is used later to add nics, the network still doesn't function. Using flags=up for empty networking fixes this. Docker-DCO-1.1-Signed-off-by: James DeFelice <james.defelice@ishisystems.com> (github: jdef)
This commit is contained in:
parent
35ef0d37c2
commit
17c124baf6
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ lxc.network.name = eth0
|
|||
{{else}}
|
||||
# network is disabled (-n=false)
|
||||
lxc.network.type = empty
|
||||
lxc.network.flags = up
|
||||
{{end}}
|
||||
|
||||
# root filesystem
|
||||
|
|
Loading…
Add table
Reference in a new issue