[install] move OS_IMAGE_API_VERSION variable into "Create OpenStack client environment scripts"

The installation of the image service is not optional, because of that
it is not necessary to manually add the OS_IMAGE_API_VERSION variable to
the OpenStack client environment scripts after the installation of the
image service

Change-Id: Ic84e7910d166dbe9dd3da7888f3ee65280b1fdc3
This commit is contained in:
Christian Berendt 2016-04-13 11:47:46 +02:00
parent dcd506461d
commit 495f8199f8
2 changed files with 2 additions and 8 deletions

View File

@ -16,14 +16,6 @@ For information about how to manage images, see the
Perform these commands on the controller node.
#. In each client environment script, configure the Image service
client to use API version 2:
.. code-block:: console
$ echo "export OS_IMAGE_API_VERSION=2" \
| tee -a admin-openrc demo-openrc
#. Source the ``admin`` credentials to gain access to
admin-only CLI commands:

View File

@ -28,6 +28,7 @@ scripts to load appropriate credentials for client operations.
export OS_PASSWORD=ADMIN_PASS
export OS_AUTH_URL=http://controller:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
Replace ``ADMIN_PASS`` with the password you chose
for the ``admin`` user in the Identity service.
@ -43,6 +44,7 @@ scripts to load appropriate credentials for client operations.
export OS_PASSWORD=DEMO_PASS
export OS_AUTH_URL=http://controller:5000/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
Replace ``DEMO_PASS`` with the password you chose
for the ``demo`` user in the Identity service.