[pve-devel] [PATCH] Apply options lxc.rootfs

Gerrit Venema gmoniker at gmail.com
Sat Jan 9 16:27:44 CET 2016


This patch applies options set in lxc.rootfs.options in a container config
to the mount operation of the rootfs of a LXC container.

The following restriction applies: 
Options are applied only if the root is a read/write loopback device
or the root is a plain device. With a bind mount there is no easy way
to reset the mount options afterwards, and unwanted effects may remain
in the host after shutting down the container. 

Gerrit Venema (1):
  [FEATURE] Apply the options of lxc.rootfs.options on rootfs.

 src/PVE/LXC.pm | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

-- 
2.1.4




More information about the pve-devel mailing list