Use 'openstack' command-client commands to replace glance commands
Change-Id: I854473e527ad0a1c45beb610cea628e32af62de1 Implements: blueprint use-openstack-command
This commit is contained in:
parent
3ab864378c
commit
af0ef0765c
@ -76,33 +76,34 @@ data store version.
|
|||||||
|
|
||||||
You need to register your guest image with the Image service.
|
You need to register your guest image with the Image service.
|
||||||
|
|
||||||
In this example, you use the glance :command:`image-create`
|
In this example, you use the :command:`openstack image create`
|
||||||
command to register a ``mysql-5.5.qcow2`` image.
|
command to register a ``mysql-5.5.qcow2`` image.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ glance image-create --name mysql-5.5 --disk-format qcow2 --container-format bare --is-public True < mysql-5.5.qcow2
|
$ openstack image create mysql-5.5 --disk-format qcow2 --container-format bare --public < mysql-5.5.qcow2
|
||||||
+------------------+--------------------------------------+
|
+------------------+------------------------------------------------------+
|
||||||
| Property | Value |
|
| Field | Value |
|
||||||
+------------------+--------------------------------------+
|
+------------------+------------------------------------------------------+
|
||||||
| checksum | d41d8cd98f00b204e9800998ecf8427e |
|
| checksum | 133eae9fb1c98f45894a4e60d8736619 |
|
||||||
| container_format | bare |
|
| container_format | bare |
|
||||||
| created_at | 2014-05-23T21:01:18 |
|
| created_at | 2016-12-21T12:10:02Z |
|
||||||
| deleted | False |
|
|
||||||
| deleted_at | None |
|
|
||||||
| disk_format | qcow2 |
|
| disk_format | qcow2 |
|
||||||
| id | bb75f870-0c33-4907-8467-1367f8cb15b6 |
|
| file | /v2/images/d1afb4f0-2360-4400-8d97-846b1ab6af52/file |
|
||||||
| is_public | True |
|
| id | d1afb4f0-2360-4400-8d97-846b1ab6af52 |
|
||||||
| min_disk | 0 |
|
| min_disk | 0 |
|
||||||
| min_ram | 0 |
|
| min_ram | 0 |
|
||||||
| name | mysql-5.5 |
|
| name | mysql-5.5 |
|
||||||
| owner | 1448da1223124bb291f5ae8e9af4270d |
|
| owner | 5669caad86a04256994cdf755df4d3c1 |
|
||||||
| protected | False |
|
| protected | False |
|
||||||
| size | 0 |
|
| schema | /v2/schemas/image |
|
||||||
|
| size | 13200896 |
|
||||||
| status | active |
|
| status | active |
|
||||||
| updated_at | 2014-05-23T21:01:22 |
|
| tags | |
|
||||||
|
| updated_at | 2016-12-21T12:10:03Z |
|
||||||
| virtual_size | None |
|
| virtual_size | None |
|
||||||
+------------------+--------------------------------------+
|
| visibility | public |
|
||||||
|
+------------------+------------------------------------------------------+
|
||||||
|
|
||||||
#. **Create the data store**
|
#. **Create the data store**
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user