]> git.proxmox.com Git - mirror_lxc.git/commit
start: unify and simplify network creation
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 1 Jul 2019 15:55:16 +0000 (17:55 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 2 Jul 2019 11:49:27 +0000 (13:49 +0200)
commite389f2afd8509b0996bf83bf99303eea88a590f7
treea086bfe1b852e09793a7f0993a1e43bde8d0a4b9
parentc121b3000f9d7ffc5778ae7eb5a7a78788c0054f
start: unify and simplify network creation

Make sure that network creation happens at the same time for containers started
by privileged and unprivileged users. The only reason we didn't do this so far
was to avoid sending network device ifindices around in the privileged case.

Link: https://github.com/lxc/lxc/issues/3066
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c
src/lxc/network.c
src/lxc/network.h
src/lxc/start.c