jail: netifd: generate netifd uci config and mount it
authorDaniel Golle <daniel@makrotopia.org>
Mon, 11 Oct 2021 22:04:38 +0000 (23:04 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 12 Oct 2021 23:35:54 +0000 (00:35 +0100)
commitc44ab7fa061fda06d1496b6273ac7151189fb7a9
treedb914401fe599955549d2c75694ff656d50ba8e1
parent324ebd0a3c983bd12b1b330e23293b9e1d64044f
jail: netifd: generate netifd uci config and mount it

Generate /etc/config/network by filtering the host config for
uci sections which are marked for that specific jail.
Feed that configuration to the per-container netifd instance.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CMakeLists.txt
jail/netifd.c