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:
parent
bc821f0250
commit
bbd2d93dd4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue