diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index ca2dd4348..ee54a7af2 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -301,6 +301,10 @@ EOF done echo "lxc.mount.entry = /sys/kernel/security sys/kernel/security none ro,bind,optional 0 0" >>$path/config echo "lxc.mount.auto = proc:mixed sys" >>$path/config + + if [ -f "$path/fstab" ]; then + echo "lxc.mount = $path/fstab" >>$path/config + fi } remap_userns()