[Lxc-users] Automated Mount for every lxc container

Sebastian Bachmann me at free-minds.net
Wed May 2 17:52:34 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-04-26 05:41, Serge Hallyn wrote:
>> lxc.mount.entry = proc    proc   proc    nodev,noexec,nosuid 0 0 
>> lxc.mount.entry = /shared shared none    bind 0 0

according to the debian manpage this will not work, and it does not
work somehow:
    lxc.mount
              specify a file location in the fstab format, containing
the mount informations. If the rootfs is an image file or a device
block and the fstab is used  to  mount  a  point  somewhere  in  this
              rootfs, the path of the rootfs mount point should be
prefixed with the ${prefix}/lib/x86_64-linux-gnu/lxc default path or
the value of lxc.rootfs.mount if specified.

            lxc.mount.entry
              specify a mount point corresponding to a line in the
fstab format.

the ubuntu man page says something different, there i dont need to
prefix the path...
Is it only working on ubuntu?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPoXRiAAoJEAhgHfpCPcybHY4H/j20f4Ah/aGmigimAaEo19SW
yY3mvnCzvgdIgBy1WVV8Ziwl6178Cgjggg0u5LWlm0MDfiElOHPI2TG1GFwF8Jla
o+xmMWQcV5iWtgaw0oTYaa2FTa1Yu0ZvL5VPnBf39Z2ZN9kZrrUQLX9Gpr0uOk3P
zrdx7lTJ+GeqQXZtNihjzCI0f8qRftBcMEuGZyHLsTzFWd6uUht7dGYzPMx7TYm8
zOeC03acFkkUFHPy6crwSTcZ92vi4Lz/IA5ZE3/2p5S2AopGhGKgp0lhGJEqRtjo
hnM9ZKBAtkKX0vqPvlYhe/5/zkfgaIo0D2IaIp55P86cklp0raoX7Eqrrvi8w2w=
=GvQV
-----END PGP SIGNATURE-----




More information about the lxc-users mailing list