X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=boot%2Faaf_vm_init.sh;h=4eab2143fc81fee5dac421a544dac10377f7d231;hb=ea62274a1dfca76065ba530a3d62fec729e0a72a;hp=7c91ade7e644ada9ea0af3c54a6cafbbd1aa4c5b;hpb=d0684a8de7d80f65294c0f27bf27d1993c45ec0a;p=demo.git diff --git a/boot/aaf_vm_init.sh b/boot/aaf_vm_init.sh index 7c91ade7..4eab2143 100644 --- a/boot/aaf_vm_init.sh +++ b/boot/aaf_vm_init.sh @@ -14,23 +14,11 @@ cd /opt/authz git pull +cd /opt/authz/auth/auth-cass/docker if [ "`docker container ls | grep aaf_cass`" = "" ]; then # Cassandra Install - 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 CASS_IP=`docker inspect aaf_cass | grep '"IPAddress' | head -1 | cut -d '"' -f 4`