Fix volume id reference in boot from volume example

The server create example for boot from volume in step 3
is using the wrong volume id. This change makes it use the
volume id from the volume list table output in step 2.

Change-Id: Ib19346d382ab2d1173e4f2ae576724a3b4d19bfc
Closes-Bug: #1680108
This commit is contained in:
Matt Riedemann 2017-04-05 10:24:10 -04:00
parent 3936042d20
commit 2217cbdc3b

View File

@ -91,7 +91,7 @@ system.
.. code-block:: console
$ openstack server create --flavor 2 --image 98901246-af91-43d8-b5e6-a4506aa8f369 \
--block-device source=volume,id=d620d971-b160-4c4e-8652-2513d74e2080,dest=volume,shutdown=preserve \
--block-device source=volume,id=b8f7bbec-6274-4cd7-90e7-60916a5e75d4,dest=volume,shutdown=preserve \
myInstanceWithVolume
+--------------------------------------+--------------------------------------------+
| Field | Value |
@ -118,7 +118,7 @@ system.
| key_name | - |
| metadata | {} |
| name | myInstanceWithVolume |
| os-extended-volumes:volumes_attached | [{"id": "d620d971-b160-4c4e-8652-2513d7... |
| os-extended-volumes:volumes_attached | [{"id": "b8f7bbec-6274-4cd7-90e7-60916a... |
| progress | 0 |
| security_groups | default |
| status | BUILD |