Add DF_NO_BASH option to docker file
In case we only want to configure the DF docker and not run the bash (e.g. in docker containers that use this container) we would like to be able to do so. Supplying the DF_NO_CONTROLLER=1 does not run the controller, but runs a bash, now adding DF_NO_BASH will just configure the docker and exit. Change-Id: Ic06e14d1ce60b33832a40626fd9d737c68bb19b7
This commit is contained in:
parent
945b1e368c
commit
f6f5e5365e
|
@ -56,6 +56,6 @@ fi
|
|||
|
||||
if [ -z "$DF_NO_CONTROLLER" ]; then
|
||||
/usr/local/bin/df-local-controller --config-file /etc/dragonflow/dragonflow.ini
|
||||
else
|
||||
elif [ -z "$DF_NO_BASH" ]; then
|
||||
/bin/bash
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue