summaryrefslogtreecommitdiffstats
path: root/deploy_vm2.sh
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-05-30 13:37:52 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-05-30 16:23:41 -0400
commit8f3ba2c2b0c877bd7238ced1a472607d36147f0e (patch)
tree5d237e63a63df00a9226aec87424eb74495026bb /deploy_vm2.sh
parent1f2ae46587874c477bc89f160e382204a3786248 (diff)
Fix the typo in the docker tag pull
Change-Id: Ia38e3ca9341da5f35ca02f1f17aa80435763040d Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'deploy_vm2.sh')
-rwxr-xr-xdeploy_vm2.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/deploy_vm2.sh b/deploy_vm2.sh
index 247653d..6a7fac3 100755
--- a/deploy_vm2.sh
+++ b/deploy_vm2.sh
@@ -43,10 +43,10 @@ then
mkdir -p $MODEL_LOADER_LOGS;
fi;
-export MTU=${MTU:-1500};
-export HBASE_IMAGE="${HBASE_IMAGE:-hkajur93/aai-hbase-1.2.3}";
+export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1);
+export HBASE_IMAGE="${HBASE_IMAGE:-aaionap/hbase}";
#export HBASE_IMAGE="${HBASE_IMAGE:-harisekhon/hbase}";
-export GREMLIN_SERVER_IMAGE="${GREMLIN_SERVER_IMAGE:-hkajur93/gremlin-server}";
+export GREMLIN_SERVER_IMAGE="${GREMLIN_SERVER_IMAGE:-aaionap/gremlin-server}";
function wait_for_container() {
@@ -78,7 +78,7 @@ docker pull ${GREMLIN_SERVER_IMAGE};
$DOCKER_COMPOSE_CMD stop
$DOCKER_COMPOSE_CMD rm -f -v
-HBASE_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai.hbase.simpledemo.openecomp.org 2>&1 | grep 'Creating' | grep -v 'network' | awk '{ print $2; }' | head -1);
+HBASE_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai.hbase.simpledemo.openecomp.org 2>&1 | grep 'Creating' | grep -v 'volume' | grep -v 'network' | awk '{ print $2; }' | head -1);
wait_for_container $HBASE_CONTAINER_NAME '^starting regionserver';
#wait_for_container $HBASE_CONTAINER_NAME 'HBase metrics system started';