]> git.proxmox.com Git - pve-container.git/commit
lxc: read-only bind mounts
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 12 Feb 2016 10:40:35 +0000 (11:40 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 12 Feb 2016 10:58:07 +0000 (11:58 +0100)
commitc2744c9759ec51b6f8e8a4ab0861983d24e58f7f
tree4a2a607e9caef4b7b6776d500d2ea4cd5306a359
parent3cc56749060f98098690c5203b00dd21e553c66c
lxc: read-only bind mounts

Factored the bind-mounting into a bindmount() function since
we don't want to leave a writable bind-mount behind if the
read-only remount fails.

The read-only flag is now also removed from the initial
mount flags and is added only for the remount command and is
added separately the non-bind mounts.
src/PVE/LXC.pm