Fix quickstart for virtual environments

The etc_examples and inventory should be copied from the virtual
environment rather than the system.

Change-Id: I3ac1e057971b7481a0bce2a15351031e51bf97d6
Closes-Bug: #1829435
This commit is contained in:
Mark Goddard 2019-05-21 10:29:24 +01:00
parent 22a6e0216e
commit 0b27baf3ce

View File

@ -170,13 +170,19 @@ Install Kolla-ansible for deployment or evaluation
#. Copy ``globals.yml`` and ``passwords.yml`` to ``/etc/kolla`` directory.
For CentOS, run:
If using a virtual environment:
.. code-block:: console
cp -r /path/to/virtualenv/share/kolla-ansible/etc_examples/kolla/* /etc/kolla
If not using a virtual environment on CentOS, run:
.. code-block:: console
cp -r /usr/share/kolla-ansible/etc_examples/kolla/* /etc/kolla
For Ubuntu, run:
If not using a virtual environment on Ubuntu, run:
.. code-block:: console
@ -185,13 +191,19 @@ Install Kolla-ansible for deployment or evaluation
#. Copy ``all-in-one`` and ``multinode`` inventory files to
the current directory.
For CentOS, run:
If using a virtual environment:
.. code-block:: console
cp /path/to/virtualenv/share/kolla-ansible/ansible/inventory/* .
If not using a virtual environment on CentOS, run:
.. code-block:: console
cp /usr/share/kolla-ansible/ansible/inventory/* .
For Ubuntu, run:
If not using a virtual environment on Ubuntu, run:
.. code-block:: console