]> git.proxmox.com Git - pve-guest-common.git/commit
vzdump: schema: add fleecing property string
authorFiona Ebner <f.ebner@proxmox.com>
Thu, 11 Apr 2024 09:29:30 +0000 (11:29 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Apr 2024 17:08:39 +0000 (19:08 +0200)
commitceb527c870e9500eab0427377dc0f95b45f3a705
tree211aefc38287b477309a932ddb2c757c50df6aa3
parentbdf06beb0add73a9202f39185b8abfa7f7ba68c5
vzdump: schema: add fleecing property string

It's a property string, because that avoids having an implicit
"enabled" as part of a 'fleecing-storage' property. And there likely
will be more options in the future, e.g. threshold/limit for the
fleecing image size.

Storage is non-optional, so the storage choice needs to be a conscious
decision. Can allow for a default later, when a good choice can be
made further down the stack. The original idea with "same storage as
VM disk" is not great, because e.g. for LVM, it would require the same
size as the disk up front.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
 [ TL: style fix for whitespace placement in multi-line strings ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/VZDump/Common.pm