Skip to content

Commit

Permalink
Update lxc_template.go
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
James DeFelice committed Feb 3, 2014
1 parent 35ef0d3 commit 17c124b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions execdriver/lxc/lxc_template.go
Expand Up @@ -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
Expand Down

0 comments on commit 17c124b

Please sign in to comment.