Add "sudo" to the instruction for running Kuryr

This patch adds "sudo" to "Running Kuryr" section of README.rst. Some
people get stuck with the errors of pyroute2 and that's because of the
lack of the privilege for manipulating the veth interfaces.

Related-Bug: #1516539

Change-Id: I44f44755a1aec4ec29d0afa4852e989eca28d381
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
This commit is contained in:
Taku Fukushima 2016-01-26 12:46:45 +09:00
parent 7f46663420
commit 672906eef3
1 changed files with 5 additions and 4 deletions

View File

@ -37,13 +37,14 @@ Prerequisites
Running Kuryr
-------------
Please run the following script, it creates `/usr/lib/docker/plugins/kuryr`
and the JSON spec file, `/usr/lib/docker/plugins/kuryr/kuryr.json`, if they
don't exist.
Please run the following script, it creates ``/usr/lib/docker/plugins/kuryr``
and the JSON spec file, ``/usr/lib/docker/plugins/kuryr/kuryr.json``, if they
don't exist. Kuryr requires the root privilege for creating and deleting the
veth pairs with `pyroute2 <http://docs.pyroute2.org/>`_ to run.
::
$ ./scripts/run_kuryr.sh
$ sudo ./scripts/run_kuryr.sh
Testing Kuryr
-------------