Browse Source

Set up IPv4 gateway automatically

I need this to get networking inside the LXC container in
a Debian 8.2 VM.
pull/105/head
Wladimir J. van der Laan 5 years ago
parent
commit
cb718681e9
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      etc/lxc.config.in

+ 2
- 0
etc/lxc.config.in View File

@@ -32,4 +32,6 @@ lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = GUESTLINK
lxc.network.ipv4 = GUESTIP/24
lxc.network.ipv4.gateway = auto

lxc.utsname = gitian

Loading…
Cancel
Save