summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/docker/dcqlsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-cass/docker/dcqlsh.sh')
-rw-r--r--auth/auth-cass/docker/dcqlsh.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/auth/auth-cass/docker/dcqlsh.sh b/auth/auth-cass/docker/dcqlsh.sh
index a6c08643..ce861dc2 100644
--- a/auth/auth-cass/docker/dcqlsh.sh
+++ b/auth/auth-cass/docker/dcqlsh.sh
@@ -1,3 +1,8 @@
-#!/bin/bash
-docker exec -it aaf_cass /usr/bin/cqlsh -k authz
+#!/bin/bash
+
+# Pull in AAF Env Variables from AAF install
+if [ -e ../../docker/d.props ]; then
+ . ../../docker/d.props
+fi
+${DOCKER:=docker} exec -it aaf_cass /usr/bin/cqlsh -k authz