Add configuration to allow internal and external configuration.

Default to external files (mounted 'config/').
This commit is contained in:
Robert Adams
2022-02-06 03:22:42 +00:00
parent 479aa9114a
commit 3c3c2acce7
7 changed files with 98 additions and 11 deletions
@@ -7,7 +7,7 @@ OPENSIMBIN=${OPENSIMBIN:-/home/opensim/opensim/bin}
# For this image, CONFIG_NAME is the configuration being used
CONFIG_NAME=${CONFIG_NAME:-standalone}
CONFIGDIR=${OPENSIMBIN}/config/${CONFIG_NAME}
CONFIGDIR=${OPENSIMBIN}/config/config-${CONFIG_NAME}
cd "$CONFIGDIR"
source ../scripts/setEnvironment.sh