[pve-devel] [PATCH pve-common 1/1] schema: add pve-targetstorage (moved from qemu-server)
Alexandre Derumier
aderumier at odiso.com
Wed Jun 29 11:08:31 CEST 2022
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
src/PVE/JSONSchema.pm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
index ab718f3..0db363c 100644
--- a/src/PVE/JSONSchema.pm
+++ b/src/PVE/JSONSchema.pm
@@ -89,6 +89,13 @@ register_standard_option('pve-bridge-id', {
format_description => 'bridge',
});
+register_standard_option('pve-targetstorage', {
+ description => "Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.",
+ type => 'string',
+ format => 'storage-pair-list',
+ optional => 1,
+});
+
register_standard_option('pve-config-digest', {
description => 'Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.',
type => 'string',
--
2.30.2
More information about the pve-devel
mailing list