]> git.proxmox.com Git - qemu-server.git/commit
fix #4085: properly activate cicustom storage(s)
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 25 Jan 2024 12:33:12 +0000 (13:33 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 31 Jan 2024 11:28:46 +0000 (12:28 +0100)
commit9946d6fa576cc33ab979005c79d692a0724a60e1
tree4134a1bbbacdf413f72781c2b9851a21059ee11b
parent629923d025ded237459ec4a29daabedb445edc28
fix #4085: properly activate cicustom storage(s)

PVE::Storage::path() neither activates the storage of the passed-in volume, nor
does it ensure that the returned value is actually a file or block device, so
this actually fixes two issues. PVE::Storage::abs_filesystem_path() actually
takes care of both, while still calling path() under the hood (since $volid
here is always a proper volid, unless we change the cicustom schema at some
point in the future).

Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/QemuServer/Cloudinit.pm