aboutsummaryrefslogtreecommitdiffstats
path: root/distribution/cassandra/docker-entrypoint.sh
diff options
context:
space:
mode:
authorThomas Nelson <tn1381@att.com>2018-03-14 00:39:39 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-14 00:39:39 +0000
commited32276d7d097fb9b53c930133f86a99db6a35dc (patch)
tree0653a737c496a197d4e373245b5a490a40cdc3b0 /distribution/cassandra/docker-entrypoint.sh
parent0193eb29ad8bdbd4491afc7f32ce8362898e2ded (diff)
parent3c86680e532b959bd637b6c093b3916ae5bcee11 (diff)
Merge "Docker update and POM fix"
Diffstat (limited to 'distribution/cassandra/docker-entrypoint.sh')
-rw-r--r--distribution/cassandra/docker-entrypoint.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/distribution/cassandra/docker-entrypoint.sh b/distribution/cassandra/docker-entrypoint.sh
index cec4587b..2e2c657e 100644
--- a/distribution/cassandra/docker-entrypoint.sh
+++ b/distribution/cassandra/docker-entrypoint.sh
@@ -1,6 +1,11 @@
#!/bin/bash
set -e
+for f in /docker-entrypoint-initdb.d/*.cql; do
+ chown cassandra.root "$f"
+done
+
+
# first arg is `-f` or `--some-option`
# or there are no args
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then