Update using openstack section of quickstart

Change-Id: I0e3c098db9d1f0a8fda383910c05ed5efc929994
This commit is contained in:
chenxing 2018-05-10 17:20:58 +08:00
parent b60468f06e
commit 47e2b6221b

View File

@ -501,8 +501,18 @@ If error occurs during execution, refer to
Using OpenStack Using OpenStack
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
OpenStack requires an openrc file where credentials for admin user etc are set. #. Install basic OpenStack CLI clients:
To generate this file run
.. code-block:: console
pip install python-openstackclient python-glanceclient python-neutronclient
.. end
#. OpenStack requires an openrc file where credentials for admin user
are set. To generate this file:
* For deployment or evaluation, run:
.. code-block:: console .. code-block:: console
@ -511,18 +521,21 @@ To generate this file run
.. end .. end
Install basic OpenStack CLI clients: * For development, run:
.. code-block:: console .. code-block:: console
pip install python-openstackclient python-glanceclient python-neutronclient cd kolla-ansible/tools
./kolla-ansible post-deploy
. /etc/kolla/admin-openrc.sh
.. end .. end
Depending on how you installed Kolla-Ansible, there is script that will create #. Depending on how you installed Kolla-Ansible, there is a script that will
example networks, images, and so on. create example networks, images, and so on.
For pip install and CentOS host: * For deployment or evaluation,
run ``init-runonce`` script on CentOS:
.. code-block:: console .. code-block:: console
@ -530,7 +543,7 @@ For pip install and CentOS host:
.. end .. end
For pip install and Ubuntu host: Run ``init-runonce`` script on Ubuntu:
.. code-block:: console .. code-block:: console
@ -538,7 +551,7 @@ For pip install and Ubuntu host:
.. end .. end
For git pulled source: * For development, run:
.. code-block:: console .. code-block:: console