mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 16:46:21 +00:00
Add minimal userns config for plamo
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
484ed03088
commit
cb13115193
@ -2,6 +2,7 @@ templatesconfigdir=@LXCTEMPLATECONFIG@
|
||||
|
||||
templatesconfig_DATA = \
|
||||
plamo.common.conf \
|
||||
plamo.userns.conf \
|
||||
ubuntu-cloud.common.conf \
|
||||
ubuntu-cloud.lucid.conf \
|
||||
ubuntu-cloud.userns.conf \
|
||||
|
9
config/templates/plamo.userns.conf.in
Normal file
9
config/templates/plamo.userns.conf.in
Normal file
@ -0,0 +1,9 @@
|
||||
# CAP_SYS_ADMIN in init-user-ns is required for cgroup.devices
|
||||
lxc.cgroup.devices.deny =
|
||||
lxc.cgroup.devices.allow =
|
||||
|
||||
# Extra bind-mounts for userns
|
||||
lxc.mount.entry = /dev/console dev/console none bind,create=file 0 0
|
||||
lxc.mount.entry = /dev/null dev/null none bind,create=file 0 0
|
||||
lxc.mount.entry = /dev/tty dev/tty none bind,create=file 0 0
|
||||
lxc.mount.entry = /dev/urandom dev/urandom none bind,create=file 0 0
|
@ -533,6 +533,7 @@ AC_CONFIG_FILES([
|
||||
config/etc/Makefile
|
||||
config/templates/Makefile
|
||||
config/templates/plamo.common.conf
|
||||
config/templates/plamo.userns.conf
|
||||
config/templates/ubuntu-cloud.common.conf
|
||||
config/templates/ubuntu-cloud.lucid.conf
|
||||
config/templates/ubuntu-cloud.userns.conf
|
||||
|
Loading…
Reference in New Issue
Block a user