Fix ReadMe for config file generation info

Change-Id: I5f49572aa324bf752766ed98e71ed3ff83e58f0e
Closes-bug: #1590873
This commit is contained in:
vikaschoudhary16 2016-06-09 21:50:52 +05:30
parent 9824d94055
commit 43e6ae267c
1 changed files with 16 additions and 3 deletions

View File

@ -45,6 +45,20 @@ Running the following will grab the requirements and install kuryr
Configuring Kuryr
-----------------
Generate sample config, `etc/kuryr.conf.sample`, running the following
::
$ tox -e genconfig
Rename and copy config file at required path
::
$ cp etc/kuryr.conf.sample /etc/kuryr/kuryr.conf
Edit keystone section in `/etc/kuryr/kuryr.conf`, replace ADMIN_PASSWORD:
::
@ -79,10 +93,9 @@ After the booting, please restart your Docker service, e.g.,
$ sudo service docker restart
The bash script creates the following files if they are missing.
The bash script creates the following file if it is missing.
* ``/usr/lib/docker/plugins/kuryr/kuryr.json``: Json spec file for libnetwork;
* ``/etc/kuryr/kuryr.conf``: Configuration file for Kuryr.
* ``/usr/lib/docker/plugins/kuryr/kuryr.json``: Json spec file for libnetwork.
Note the root privilege is required for creating and deleting the veth pairs
with `pyroute2 <http://docs.pyroute2.org/>`_ to run.