]> 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:16:14 +0000 (18:16 +0200)
commit517abd0cd28a613598e2a3a8d5d8d057578c14b6
tree364b51db9589ebb66696a89db5af44a5a13f31ec
parentb58348b1b60c6546b14323ec9303c91d5b1a29b7
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>
PVE/CLI/pve7to8.pm