From dd9b3156cd1c5341b01c5befe2a2d13bab6e8d01 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 13 Dec 2023 04:13:40 +0100 Subject: [PATCH] inject_image_metadata plugin: Fix documentation The properties and values given to the "inject" option must not be quoted, otherwise the quotes become part of the values themselves. Change-Id: Ibcb8b8488253f459f40e6d34f4221832b7ff3839 Closes-Bug: #2028895 --- doc/source/admin/interoperable-image-import.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/source/admin/interoperable-image-import.rst b/doc/source/admin/interoperable-image-import.rst index 468b5de724..36fd73ee13 100644 --- a/doc/source/admin/interoperable-image-import.rst +++ b/doc/source/admin/interoperable-image-import.rst @@ -557,7 +557,7 @@ required. [inject_metadata_properties] ignore_user_roles = admin,... - inject = "property1":"value1","property2":"value2",... + inject = property1:value1,property2:value2,... The first section, ``image_import_opts``, is used to enable the plugin by specifying the plugin name as one of the elements of the list that is the @@ -576,8 +576,7 @@ required. * ``inject`` is a comma-separated list of properties and values that will be injected into the image record for the imported image. Each property and - value should be quoted and separated by a colon (':') as shown in the - example above. + value should be separated by a colon (':') as shown in the example above. 2. If your use case is such that you don't want to allow end-users to create, modify, or delete metadata properties that you are injecting during the