lxc: Add a bindmount for /data/users
[matthijs/servers/tika.git] / var / lib / lxc / template / config
index 0509ae6e49d6b90e50a783e19adbdf1d8ed25fa2..e7aca33bf2eca41c077208d7455fe770edc11961 100644 (file)
@@ -1,5 +1,5 @@
 # Hostname
-lxc.utsname = template
+lxc.utsname = template.local
 
 # Use this root filesystem
 lxc.rootfs = /containers/template
@@ -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