mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
lxc: add two files to default backup list
Users running unprivileged containers will need to create /etc/subgid and /etc/subuid and want to have them preserved across updates. This commit adds them to the default backup set. Signed-off-by: John Audia <therealgraysky@proton.me> Co-authored-by: Tianling Shen <cnsztl@gmail.com>
This commit is contained in:
committed by
Tianling Shen
parent
f32083fa27
commit
6fe80f5586
@@ -103,6 +103,11 @@ define Package/lxc-unprivileged/install
|
|||||||
$(INSTALL_DATA) ./files/lxc-unprivileged.defaults $(1)/etc/uci-defaults/lxc-unprivileged
|
$(INSTALL_DATA) ./files/lxc-unprivileged.defaults $(1)/etc/uci-defaults/lxc-unprivileged
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/lxc-unprivileged/conffiles
|
||||||
|
/etc/subgid
|
||||||
|
/etc/subuid
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/lxc/config
|
define Package/lxc/config
|
||||||
source "$(SOURCE)/Config.in"
|
source "$(SOURCE)/Config.in"
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user