Commit 4662c6de by Stéphane Graber

Add common.conf.d

parent d89de239
...@@ -2,6 +2,8 @@ templatesconfigdir=@LXCTEMPLATECONFIG@ ...@@ -2,6 +2,8 @@ templatesconfigdir=@LXCTEMPLATECONFIG@
EXTRA_DIST = common.seccomp EXTRA_DIST = common.seccomp
SUBDIRS = common.conf.d
templatesconfig_DATA = \ templatesconfig_DATA = \
archlinux.common.conf \ archlinux.common.conf \
archlinux.userns.conf \ archlinux.userns.conf \
......
templatesconfigdir=@LXCTEMPLATECONFIG@/common.conf.d/
EXTRA_DIST = README
templatesconfig_DATA = \
README
This directory can be used by packages and users to dump LXC
configuration snippets which will then be used by all containers using
the common.conf configuration file (directly or indirectly).
Configuration files must end with the .conf suffix and LXC will include
those in alphabetical order.
...@@ -46,3 +46,6 @@ lxc.cgroup.devices.allow = c 136:* rwm ...@@ -46,3 +46,6 @@ lxc.cgroup.devices.allow = c 136:* rwm
# Blacklist some syscalls which are not safe in privileged # Blacklist some syscalls which are not safe in privileged
# containers # containers
lxc.seccomp = @LXCTEMPLATECONFIG@/common.seccomp lxc.seccomp = @LXCTEMPLATECONFIG@/common.seccomp
# Lastly, include all the configs from @LXCTEMPLATECONFIG@/common.conf.d/
lxc.include = @LXCTEMPLATECONFIG@/common.conf.d/
...@@ -627,6 +627,7 @@ AC_CONFIG_FILES([ ...@@ -627,6 +627,7 @@ AC_CONFIG_FILES([
config/templates/centos.common.conf config/templates/centos.common.conf
config/templates/centos.userns.conf config/templates/centos.userns.conf
config/templates/common.conf config/templates/common.conf
config/templates/common.conf.d/Makefile
config/templates/debian.common.conf config/templates/debian.common.conf
config/templates/debian.userns.conf config/templates/debian.userns.conf
config/templates/fedora.common.conf config/templates/fedora.common.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment