Modify run_kuryr.sh to accepts arguments

This patch modifies run_kuryr.sh to accept arguments and pass them down
to kuryr/server.py. This enables users to have more flexibility for
launching the Kuryr libenetwork remote plugin as follow.

  $ ./scripts/run_kuryr.sh --log-dir . --log-file kuryr.log

Change-Id: I9aa6ea4b58b3485f49689dc46cb6924a3e70b5c9
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
Closes-Bug: #1570253
This commit is contained in:
Taku Fukushima 2016-04-14 18:15:01 +09:00
parent fe12e78360
commit 45edc61f94
No known key found for this signature in database
GPG Key ID: 500E6EE30BCD4368
1 changed files with 1 additions and 1 deletions

View File

@ -58,4 +58,4 @@ if [[ ! -f "${KURYR_CONFIG}" ]]; then
echo "Done"
fi
PYTHONPATH=${KURYR_HOME} python ${KURYR_HOME}/scripts/run_server.py --config-file /etc/kuryr/kuryr.conf
PYTHONPATH=${KURYR_HOME} python ${KURYR_HOME}/scripts/run_server.py --config-file /etc/kuryr/kuryr.conf $@