]> git.proxmox.com Git - pve-container.git/commit
migrate: enforce that rootdir content type is available
authorFabian Ebner <f.ebner@proxmox.com>
Fri, 18 Jun 2021 10:59:32 +0000 (12:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Jun 2021 08:40:27 +0000 (10:40 +0200)
commitb2f00a8930c811e61138315ba9137523469460d4
tree69b7f5b6703fb0ab0ce374a9659cce49c8021d84
parent2334b15da7c99896a2e1887ef71b53f52fd20121
migrate: enforce that rootdir content type is available

and use it for the vdisk_list call too. This avoids scanning (and picking up
volumes from!) storages that are not even configured to hold container images.

Also serves a bit as a preparation to enforce content type on guest startup,
because now migration failure happens early and not only when trying to start
the guest on the remote node.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/PVE/LXC/Migrate.pm