Monday, March 7, 2016

Container fstab not working in LXC

It seems that from some version of LXC, the deafults have changed such that container fstab simply has stopped working for me. This is how I fixed the problem: add the following line to your container config file:
lxc.mount = /var/lib/lxc/container-name/fstab
Fix the container name in that, and you're ready to go.

No comments:

Post a Comment