Convert to template not working if with bind mounts?

luison

Renowned Member
Feb 22, 2010
159
6
83
Spain
elsurexiste.com
Hi. I was trying to test the possibilities of converting a container to template. Also wanted to test the possibilities of "linked clones" but I've discovered that as I understand no template or cloning possible if bind mounts are included on the container.

unable to clone mountpint 'mp3' (type bind) (500)

Different, but related error when I try to convert to template. Perhaps someone can confirm this limitation exists and if there are any workaround, otherwise perhaps this can be consider a future suggestion maybe also linked to an old question (https://forum.proxmox.com/threads/use-of-variables-in-lxc-conf-files.29904/) regarding the possibility that existed on OpenVZ of using $vars on configurations file, at least one for the containersID.

mp2: /logs/$VMID,mp=/logs

could then be cloned to a new system