From: Daniele Sluijters Date: Wed, 29 Feb 2012 11:04:07 +0000 (+0100) Subject: lxc: Add a bindmount for /data/users X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=f4f454a6125d0504b0fd64f9407cde67c702679a;p=matthijs%2Fservers%2Ftika.git lxc: Add a bindmount for /data/users --- diff --git a/var/lib/lxc/ldap/config b/var/lib/lxc/ldap/config index 67f135e..afd7155 100644 --- a/var/lib/lxc/ldap/config +++ b/var/lib/lxc/ldap/config @@ -54,6 +54,7 @@ lxc.cgroup.devices.allow = c 254:0 rwm lxc.mount.entry=proc proc proc nodev,noexec,nosuid 0 0 lxc.mount.entry=sysfs sys sysfs defaults 0 0 lxc.mount.entry=/data/db/ldap data/db/ldap none defaults,bind 0 0 +lxc.mount.entry=/data/users data/users none defaults,bind 0 0 # Disallow module (un)loading lxc.cap.drop = sys_module diff --git a/var/lib/lxc/template/config b/var/lib/lxc/template/config index 35c187d..e7aca33 100644 --- a/var/lib/lxc/template/config +++ b/var/lib/lxc/template/config @@ -53,6 +53,7 @@ lxc.cgroup.devices.allow = c 254:0 rwm # to the rootfs) lxc.mount.entry=proc proc proc nodev,noexec,nosuid 0 0 lxc.mount.entry=sysfs sys sysfs defaults 0 0 +lxc.mount.entry=/data/users data/users none defaults,bind 0 0 # Disallow module (un)loading lxc.cap.drop = sys_module