]> git.proxmox.com Git - pve-container.git/commit
fix bindmounting with staged mount points
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 26 Nov 2019 08:03:07 +0000 (09:03 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Nov 2019 08:43:48 +0000 (09:43 +0100)
commit48e36ac2e039ac6b9b19fb44a243ae88f8f3ed54
tree257a7821262b50f91d8a317282a9ad847a76da39
parent7e739cd397e9ac185d4e3c9d025dcf84f0b837da
fix bindmounting with staged mount points

We still passed the target mount path to bindmount() causing
bindmount_verify() to fail. Fix this by assuming '/' as the
in-container target mount path when staging, as we mount
onto the $rootdir instead.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/LXC.pm