diff options
author | Instrumental <jgonap@stl.gathman.org> | 2020-03-24 17:07:27 -0500 |
---|---|---|
committer | Instrumental <jgonap@stl.gathman.org> | 2020-03-26 01:28:32 -0500 |
commit | 96bf6a2771dfe992fb27bd6361d191d83b6ff605 (patch) | |
tree | b26581f65d15574fe81f5dfa3e061b93744ef7fd /auth/auth-cass/cass_init/push.sh | |
parent | 48bcfb9d4b03ac3e2e6915f7bdf72599c8794d43 (diff) |
AAF Services non root, all platforms2.1.20
adjust Agent for JDK 11
Included redoing Config and Agent Init Containers
refit for "hello" (sample)
Issue-ID: AAF-1102
Signed-off-by: Instrumental <jgonap@stl.gathman.org>
Change-Id: Ia957b1ccce34d164580ccb0a6d02d7b800e4887e
Diffstat (limited to 'auth/auth-cass/cass_init/push.sh')
-rw-r--r-- | auth/auth-cass/cass_init/push.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/auth/auth-cass/cass_init/push.sh b/auth/auth-cass/cass_init/push.sh index f887f077..a6f8277d 100644 --- a/auth/auth-cass/cass_init/push.sh +++ b/auth/auth-cass/cass_init/push.sh @@ -22,6 +22,9 @@ # These are obtained from "gzipped" files, or pre-placed (i.e. initialization) # in the "dats" directory # + +CQLSH="${CQLSH:=/usr/bin/cqlsh} -k authz" + DIR=/opt/app/aaf/cass_init cd $DIR if [ ! -e dats ]; then @@ -35,7 +38,7 @@ fi cd dats for T in $(ls *.dat); do if [ -s $T ]; then - cqlsh --request-timeout=100 -e "COPY authz.${T/.dat/} FROM '$T' WITH DELIMITER='|';"; + $CQLSH --request-timeout=100 -e "COPY authz.${T/.dat/} FROM '$T' WITH DELIMITER='|';"; fi done cd $DIR |