lxc: Make mount entries relative in template container config.
[matthijs/servers/tika.git] / var / lib / lxc / template / config
index 315bbb417c9a866b9b5b6c025787d28aafae326a..aaaae21b6e62d177cedd9053b5a243881109f164 100644 (file)
@@ -49,6 +49,7 @@ lxc.cgroup.devices.allow = c 5:2 rwm
 # rtc
 lxc.cgroup.devices.allow = c 254:0 rwm
 
-# mounts point
-lxc.mount.entry=proc /var/lib/lxc/template/rootfs/proc proc nodev,noexec,nosuid 0 0
-lxc.mount.entry=sysfs /var/lib/lxc/template/rootfs/sys sysfs defaults  0 0
+# mounts (note that the second item in each list is the mount point, relative
+# to the rootfs)
+lxc.mount.entry=proc proc proc nodev,noexec,nosuid 0 0
+lxc.mount.entry=sysfs sys sysfs defaults  0 0