Last edited:
autofs/jammy-updates,now 5.1.8-1ubuntu1.3 amd64 [installed]
kernel-based automounter for Linux

Is your LXC privileged?
autofs, you need to configure it within the host system, including defining its mapping, FSs and shares. Only then will you be able to use these as directories within the LXC, which will then automount as required. Don't see it working unprivileged - but I may be wrong.To be able to useautofs, you need to configure it within the host system, including defining its mapping, FSs and shares. Only then will you be able to use these asdirectorieswithin the LXC, which will then automount as required. Don't see it workingunprivileged- but I may be wrong.
unprivileged.mp0: /mnt/shared/10.0.3.2/sharedstorage,mp=/mnt/10.0.3.2/sharedstorageThis is not autofs....very different with autofs....why not just use VM not the LXC ?Thanks for that but you're right, it does not work inunprivileged.
I worked around this by mapping the mounted folder directly to the LXC:
mp0: /mnt/shared/10.0.3.2/sharedstorage,mp=/mnt/10.0.3.2/sharedstorage
We use essential cookies to make this site work, and optional cookies to enhance your experience.