Fix docker launch with bash option

When launching the docker with the bash option, it should be able to get
any command-line arguments supplied to it.

Change-Id: I7dfb6cf265de81feb1b4ffc60d54b679a2918e97
This commit is contained in:
Shachar Snapiri 2019-04-17 12:26:56 +03:00
parent bc821f0250
commit bbd2d93dd4
1 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,6 @@ while test ${#} -gt 0; do
exit 1
fi
VERB=$1
shift
;;
esac
shift
@ -81,7 +80,7 @@ case "$VERB" in
/usr/local/bin/df-local-controller --config-file /etc/dragonflow/dragonflow.ini
;;
"bash")
/bin/bash
/bin/bash "$@"
;;
"rest")
df-model -j -o /var/dragonflow_model.json