]> git.proxmox.com Git - pve-container.git/commit
mount in pre-start, unmount in post-stop
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 12 Nov 2015 13:00:24 +0000 (14:00 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 13 Nov 2015 10:22:34 +0000 (11:22 +0100)
commitc9a5774b7fa3536cd81b0a7e0817cd12a1436baa
treee5494b4065029595f5d362bbb71f2f38ffa73384
parent29d54bf9b814c349f80e2aac4196168c9ce23751
mount in pre-start, unmount in post-stop

Mounting needs access to the pve storage, so when adding
userns support to containers we need to mount at a time
where we still have access.

Besides, with this change we now also mount the rootfs
ourselves which makes it a more generic solution.
src/Makefile
src/PVE/LXC.pm
src/lxc-pve-mount-hook [deleted file]
src/lxc-pve-poststop-hook
src/lxc-pve-prestart-hook
src/lxc-pve.conf