]> git.proxmox.com Git - mirror_lxc.git/commit
Fix unprivileged networking
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 18 Feb 2014 21:12:52 +0000 (15:12 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 18 Feb 2014 21:36:34 +0000 (16:36 -0500)
commit658979c5f9276e7b69c9f0e51be7d9e22dd49848
tree739d2e47e56f25bbb911e3f04ed84ba81bb2fc75
parent4f1d50d114f8acbdd738c458548b1ec17149f806
Fix unprivileged networking

If we are unprivileged and have asked for a veth device, then create
a pipe over which to pass the veth names.

Network-related todos:
1. set mtu on the container side of veth device
2. set mtu in lxc-user-nic.  Note that this probably requires an
   update to the /etc/lxc/lxc-usernet file :(

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c
src/lxc/start.c