]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC.pm
template create: handle mountpoints besides rootfs
authorWolfgang Link <w.link@proxmox.com>
Wed, 30 May 2018 10:12:51 +0000 (12:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 30 May 2018 10:42:55 +0000 (12:42 +0200)
commit9d1cb46bb5203aa0c3dad25a176f842223b3efb1
treeaf34cd53e434f80f9dc419e7182f2974616f560d
parent2b123f0f0f43cb2e9ce3b91dd37eb7198b2421d7
template create: handle mountpoints besides rootfs

we only handled the special rootfs mount so creating a template
from a container with additional mountpoint did not work correctly.
Use foreach_mountpoint to create a base vdisk for all mount points
after checking if the storage supports it
src/PVE/LXC.pm