]> git.ipfire.org Git - thirdparty/lxc.git/commit
start: use lxc-user-nic if we are not root
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 23 Oct 2013 15:52:37 +0000 (10:52 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 24 Oct 2013 17:13:47 +0000 (12:13 -0500)
commitcbef6c52bea93130abd8920c4b4dd1780548ac7b
tree67ea7ac97082c35b31207e3ef0692f44764d2273
parent9e214906db8b351be775901dc4e8fc070bfacf1b
start: use lxc-user-nic if we are not root

Note this results in nics named things like 'lxcuser-0p'.  We'll
likely want to pass the requested name to lxc-user-nic, but let's
do that in a separate patch.

If we're not root, we can't create new network itnerfaces to pass
into the container.  Instead wait until the container is started,
and call lxc-user-nic to create and assign the nics.

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