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
|
exit 1
|
||||||
fi
|
fi
|
||||||
VERB=$1
|
VERB=$1
|
||||||
shift
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
@ -81,7 +80,7 @@ case "$VERB" in
|
|||||||
/usr/local/bin/df-local-controller --config-file /etc/dragonflow/dragonflow.ini
|
/usr/local/bin/df-local-controller --config-file /etc/dragonflow/dragonflow.ini
|
||||||
;;
|
;;
|
||||||
"bash")
|
"bash")
|
||||||
/bin/bash
|
/bin/bash "$@"
|
||||||
;;
|
;;
|
||||||
"rest")
|
"rest")
|
||||||
df-model -j -o /var/dragonflow_model.json
|
df-model -j -o /var/dragonflow_model.json
|
||||||
|
Loading…
Reference in New Issue
Block a user