summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2017-10-23 13:49:06 +0300
committerTal Gitelman <tg851x@intl.att.com>2017-10-23 10:49:54 +0000
commit8e5fc51917be4fc78d55197ca43b2b11fa357856 (patch)
tree65b332917003e21de38092984d8e26d507e558a0 /sdc-os-chef
parent310bc472ddda8afeea40ca1f60791f92b704baa5 (diff)
VoltE fix
Change-Id: I5a8a466184bce822fb974858ad75496b3bf00fbd Issue-ID: SDC-410 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'sdc-os-chef')
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index 20cde17f57..417db0994c 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -57,7 +57,7 @@ fi
RELEASE=latest
LOCAL=false
SKIPTESTS=false
-DEBUG_PORT = "--publish 4000:4000"
+DEBUG_PORT="--publish 4000:4000"
[ -f /opt/config/env_name.txt ] && DEP_ENV=$(cat /opt/config/env_name.txt) || DEP_ENV=__ENV-NAME__
[ -f /opt/config/nexus_username.txt ] && NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt) || NEXUS_USERNAME=release
@@ -155,7 +155,7 @@ echo "docker run sdc-backend..."
if [ ${LOCAL} = false ]; then
docker pull ${PREFIX}/sdc-backend:${RELEASE}
else
- ADDITIONAL_ARGUMENTS = ${DEBUG_PORT}
+ ADDITIONAL_ARGUMENTS=${DEBUG_PORT}
fi
docker run --detach --name sdc-BE --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}" --env http_proxy=${http_proxy} --env https_proxy=${https_proxy} --env no_proxy=${no_proxy} --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 4g --memory-swap=4g --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume /data/logs/BE/:/var/lib/jetty/logs --volume /data/environments:/root/chef-solo/environments --publish 8443:8443 --publish 8080:8080 ${ADDITIONAL_ARGUMENTS} ${PREFIX}/sdc-backend:${RELEASE}