aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-elasticsearch
diff options
context:
space:
mode:
authorAreli Fuss <af732p@att.com>2018-02-11 12:33:52 +0200
committerMichael Lando <ml636r@att.com>2018-02-20 21:20:58 +0000
commit4631543642bc3b7047a3d5045dcc0cc71d61af5a (patch)
treec8a50a706910c1d0a1acce439430d784223fc426 /sdc-os-chef/sdc-elasticsearch
parent672f608017ed7260aad68a412a9cf913b8de29a2 (diff)
Add K8S deployment above Vagrant
Set deployment manifest files and scripts for deploy SDC over Kubernetes inside Vagrant Preparation for OOM integration Change-Id: Ia68d0361ed20d7598ce4e447fabfaedf82afcaf4 Issue-ID: SDC-907 Signed-off-by: Areli Fuss <af732p@att.com>
Diffstat (limited to 'sdc-os-chef/sdc-elasticsearch')
-rw-r--r--sdc-os-chef/sdc-elasticsearch/startup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sdc-os-chef/sdc-elasticsearch/startup.sh b/sdc-os-chef/sdc-elasticsearch/startup.sh
index 1871d685f6..3c2cc4c229 100644
--- a/sdc-os-chef/sdc-elasticsearch/startup.sh
+++ b/sdc-os-chef/sdc-elasticsearch/startup.sh
@@ -3,8 +3,9 @@
cd /root/chef-solo/
chef-solo -c solo.rb -E ${ENVNAME}
-chef_status=$?
+rc=$?
+if [[ $rc != 0 ]]; then exit $rc; fi
/docker-entrypoint.sh elasticsearch &
-exec "$@"; \ No newline at end of file
+while true; do sleep 30; done \ No newline at end of file