[lxc-users] cloning could be improved

CDR venefax at gmail.com
Fri May 16 05:23:50 UTC 2014


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
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


More information about the lxc-users mailing list