summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-05-11 14:04:12 -0500
committerInstrumental <jonathan.gathman@att.com>2018-05-11 14:04:45 -0500
commit0836742d3e58946d3d0c85daddc4c02ba4e34927 (patch)
tree3eabcecbaf3fb32947ab2e01d0461d596be92277
parentd0684a8de7d80f65294c0f27bf27d1993c45ec0a (diff)
modify Cass Install on vm_init
Issue-ID: AAF-282 Change-Id: I85f6c03b751b477304ecd177f33c3fd26b264ad6 Signed-off-by: Instrumental <jonathan.gathman@att.com>
-rw-r--r--boot/aaf_vm_init.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/boot/aaf_vm_init.sh b/boot/aaf_vm_init.sh
index 7c91ade7..30df3052 100644
--- a/boot/aaf_vm_init.sh
+++ b/boot/aaf_vm_init.sh
@@ -19,19 +19,9 @@ if [ "`docker container ls | grep aaf_cass`" = "" ]; then
cd /opt/authz/auth/auth-cass/docker
echo Phase 1 Cassandra Install
./dinstall.sh
- for I in 1 2 3 4 5 6 7 8 9; do
- echo "Waiting for Cassandra to startup"
- sleep 20
-
- if [ "`docker container ls | grep aaf_cass`" = "" ]; then
- echo "Still waiting ..."
- else
- echo "Phase 2 Cassandra Instail"
- ./dinstall.sh
- break
- fi
- done
fi
+echo "Phase 2 Cassandra Install"
+./dinstall.sh
CASS_IP=`docker inspect aaf_cass | grep '"IPAddress' | head -1 | cut -d '"' -f 4`
CASS_HOST="cass.aaf.osaaf.org:"$CASS_IP