[lxc-devel] [lxc/lxc] 8aecd6: unprivileged containers: use next available nic na...
GitHub
noreply at github.com
Wed Jul 23 14:43:24 UTC 2014
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 8aecd66b4967e21902a904bf2f8a530f19b76305
https://github.com/lxc/lxc/commit/8aecd66b4967e21902a904bf2f8a530f19b76305
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-07-23 (Wed, 23 Jul 2014)
Changed paths:
M src/lxc/lxc_user_nic.c
Log Message:
-----------
unprivileged containers: use next available nic name if unspecified
Rather than always using eth0. Otherwise unpriv containers cannot have
multiple lxc.network.type = veth's without manually setting
lxc.network.name =.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Commit: 0d2047716ad6967eb4714b2448a89593dc266cef
https://github.com/lxc/lxc/commit/0d2047716ad6967eb4714b2448a89593dc266cef
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-07-23 (Wed, 23 Jul 2014)
Changed paths:
M configure.ac
M src/lxc/Makefile.am
M src/lxc/network.c
Log Message:
-----------
Support openvswitch bridges
We detect whether ovs-vsctl is available. If so, then we support
adding network interfaces to openvswitch bridges with it.
Note that with this patch, veths do not appear to be removed from the
openvswitch bridge. This seems a bug in openvswitch, as the veths
in fact do disappear from the system. If lxc is required to remove
the port from the bridge manually, that becomes more complicated
for unprivileged containers, as it would require a setuid-root
wrapper to be called at shutdown.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/31098f8b9d68...0d2047716ad6
More information about the lxc-devel
mailing list