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:
John AudiaandTianling Shen authored and Tianling Shen committed 2025-03-15 21:32:58 +08:00
1 parent f32083fa27
commit 6fe80f5586
1 file changed
+5
+5
View File
@@ -103,6 +103,11 @@ define Package/lxc-unprivileged/install
$(INSTALL_DATA) ./files/lxc-unprivileged.defaults $(1)/etc/uci-defaults/lxc-unprivileged
endef
define Package/lxc-unprivileged/conffiles
/etc/subgid
/etc/subuid
endef
define Package/lxc/config
source "$(SOURCE)/Config.in"
endef