88e3b0ad98
Boolean options (such as "--protected" for glance md-namespace-update) should accept a limited amount of valid values, rather than assuming an "invalid" value means "False". The following values (no matter the case) will now be interpreted as True: ‘t’,’true’, ‘on’, ‘y’, ‘yes’, or ‘1’. The following values (no matter the case) will now be interpreted as False: ‘f’, ‘false’, ‘off’, ‘n’, ‘no’, or ‘0’. Change-Id: I0e7942045d883ac398bab4a7a85f2b4ac9b1ed8c Closes-Bug: #1607317
35 lines
1.2 KiB
ReStructuredText
35 lines
1.2 KiB
ReStructuredText
===========================
|
|
Image service property keys
|
|
===========================
|
|
|
|
You can use the glanceclient command line interface to set image properties
|
|
that can be consumed by other services to affect the behavior of those other
|
|
services.
|
|
|
|
Properties can be set on an image at the time of image creation or they
|
|
can be set on an existing image. Use the :command:`openstack image create`
|
|
and :command:`openstack image set` commands respectively.
|
|
|
|
For example:
|
|
|
|
.. code-block:: console
|
|
|
|
$ openstack image set IMG-UUID --property architecture=x86_64
|
|
|
|
For a list of image properties that can be used to affect the behavior
|
|
of other services, refer to `Useful image properties
|
|
<https://docs.openstack.org/glance/latest/admin/useful-image-properties.html>`_
|
|
in the Glance Administration Guide.
|
|
|
|
.. note::
|
|
|
|
Behavior set using image properties overrides behavior set using flavors.
|
|
For more information, refer to `Manage images
|
|
<https://docs.openstack.org/glance/latest/admin/manage-images.html>`_
|
|
in the Glance Administration Guide.
|
|
|
|
.. note::
|
|
|
|
Boolean properties expect one of the following values: '0', '1', 'f',
|
|
'false', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes' (case-insensitive).
|