]> git.proxmox.com Git - pve-manager.git/commit
pve7to8: avoid confusing warning about required setting 'storage' for vzdump
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 21 Jun 2023 15:02:01 +0000 (17:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 16:26:34 +0000 (18:26 +0200)
commitdaf74a20fd96bb8e9a418d9e06fea32a453ea5ff
treef636e5d54201c6c17075b409b68f17f4b27909e9
parente63cea8930306bea672955bf95b97afae301697a
pve7to8: avoid confusing warning about required setting 'storage' for vzdump

It's required in the schema for notes-template and protected, but when
parsing vzdump.conf, it shouldn't matter whether the storage parameter
is set or not.

The warning is ugly and users might interpret it as something that
needs to be acted upon for the upgrade:
parse error in '/etc/vzdump.conf' - 'storage': missing property - 'notes-template' requires this property\nmissing property - 'protected' requires this property

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
(cherry picked from commit 517abd0cd28a613598e2a3a8d5d8d057578c14b6)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve7to8.pm