[user-guide]Update a new libosinfo library to set hardware policy

Change-Id: I3b964e26b1897745d10cd7f9afb729bc9e29d2c1
Closes-Bug: #1537925
This commit is contained in:
chen-xing 2016-04-24 00:54:12 +08:00 committed by chen.xing
parent 8e6254071f
commit 57950f1c92

View File

@ -305,21 +305,21 @@ in the following tables.
If the guest operating system is not in the database, or if the use If the guest operating system is not in the database, or if the use
of ``libosinfo`` is disabled, the default system values are used. of ``libosinfo`` is disabled, the default system values are used.
Users can set the operating system ID or a ``short-id`` by setting Users can set the operating system ID or a ``short-id`` in image
``os_distro`` in image properties. For example: properties. For example:
.. code-block:: console .. code-block:: console
$ glance image-update --property os_distro=fedora23 \ $ glance image-update --property short-id=fedora23 \
name-of-my-fedora-image name-of-my-fedora-image
Alternatively, users can set ``os_distro`` to a URL: Alternatively, users can set ``id`` to a URL:
.. code-block:: console .. code-block:: console
$ glance image-update \ $ glance image-update \
--property os_distro=http://fedoraproject.org/fedora/23 \ --property id=http://fedoraproject.org/fedora/23 \
name-of-my-fedora-image ID-of-my-fedora-image
Troubleshoot image creation Troubleshoot image creation