Re: [lxc-devel] [PATCH 1/1] lxc-user-nic: compute first available nic name in container

2014-07-21 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Mon, Jul 21, 2014 at 07:27:02PM +, Serge Hallyn wrote: > > 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:

Re: [lxc-devel] [PATCH 1/1] lxc-user-nic: compute first available nic name in container

2014-07-21 Thread Stéphane Graber
On Mon, Jul 21, 2014 at 07:27:02PM +, Serge Hallyn wrote: > 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 > --- > src/lxc/lxc_user_nic.c | 31

[lxc-devel] [PATCH 1/1] lxc-user-nic: compute first available nic name in container

2014-07-21 Thread Serge Hallyn
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 --- src/lxc/lxc_user_nic.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-) d