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
This commit is contained in:
parent
9f896ab03d
commit
dd9b3156cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user