| 1 |
=========================== |
| 2 |
Image service property keys |
| 3 |
=========================== |
| 4 |
|
| 5 |
You can use the glanceclient command line interface to set image properties |
| 6 |
that can be consumed by other services to affect the behavior of those other |
| 7 |
services. |
| 8 |
|
| 9 |
Properties can be set on an image at the time of image creation or they |
| 10 |
can be set on an existing image. Use the :command:`glance image-create` |
| 11 |
and :command:`glance image-update` commands respectively. |
| 12 |
|
| 13 |
For example: |
| 14 |
|
| 15 |
.. code-block:: console |
| 16 |
|
| 17 |
$ glance image-update IMG-UUID --property architecture=x86_64 |
| 18 |
|
| 19 |
For a list of image properties that can be used to affect the behavior |
| 20 |
of other services, refer to `Useful image properties |
| 21 |
<https://docs.openstack.org/glance/latest/admin/useful-image-properties.html>`_ |
| 22 |
in the Glance Administration Guide. |
| 23 |
|
| 24 |
.. note:: |
| 25 |
|
| 26 |
Behavior set using image properties overrides behavior set using flavors. |
| 27 |
For more information, refer to `Manage images |
| 28 |
<https://docs.openstack.org/glance/latest/admin/manage-images.html>`_ |
| 29 |
in the Glance Administration Guide. |
| 30 |
|
| 31 |
.. note:: |
| 32 |
|
| 33 |
Boolean properties expect one of the following values: '0', '1', 'f', |
| 34 |
'false', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes' (case-insensitive). |