Quoting CDR ([email protected]): > The cloning app should intelligently change the mount points to match > the new container's directory. > For example, this is the original mount > lxc.mount.entry = /usr/src /var/lib/lxc/container-35/rootfs/usr/src > none bind 0 0
The config entry should be: lxc.mount.entry = /usr/src usr/src none bind 0 0 which will always mount on /usr/src in the container. I see that the lxc.container.conf manpage still doesn't describe that the right way. That should be fixed. > if I clone "container-35", to "container-36", the clone should have a > mount like this > lxc.mount.entry = /usr/src /var/lib/lxc/container-36/rootfs/usr/src > none bind 0 0 > > instead, now I have to manually fix the mounts. This is unnecessary > because the mounts will only work after the adjustment. > > > Philip > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
