chore: host config files

This commit is contained in:
manuel 2025-09-28 18:46:42 +08:00
parent db06336e67
commit 563896e8a4
4 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# user type interface max_number of containers
ja veth lxcbr0 20

1
admin/config/etc.subgid Normal file
View File

@ -0,0 +1 @@
ja:100000:65536

1
admin/config/etc.subuid Normal file
View File

@ -0,0 +1 @@
ja:100000:65536

View File

@ -0,0 +1,13 @@
# network
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:12:xx:xx
# apparmor
lxc.apparmor.profile = lxc-container-default-cgns
lxc.apparmor.allow_nesting = 1
# permissions
lxc.idmap = u 0 100000 65536
lxc.idmap = g 0 100000 65536