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:
parent
fe12e78360
commit
45edc61f94
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user