Commit 9a6d98444172b0fd55188bbd46f475a62e251825
1 parent
d850f92c
Fixed cassandra schema instance name
Showing
3 changed files
with
5 additions
and
4 deletions
... | ... | @@ -21,12 +21,12 @@ dpkg -i /root/thingsboard.deb |
21 | 21 | reachable=0 |
22 | 22 | while [ $reachable -eq 0 ]; |
23 | 23 | do |
24 | - echo "tb-cassandra-schema container is still in progress. waiting until it completed..." | |
24 | + echo "$TB_CASSANDRA_SCHEMA_URL container is still in progress. waiting until it completed..." | |
25 | 25 | sleep 3 |
26 | - ping -q -c 1 tb-cassandra-schema > /dev/null 2>&1 | |
26 | + ping -q -c 1 $TB_CASSANDRA_SCHEMA_URL > /dev/null 2>&1 | |
27 | 27 | if [ "$?" -ne 0 ]; |
28 | 28 | then |
29 | - echo "tb-cassandra-schema container completed!" | |
29 | + echo "$TB_CASSANDRA_SCHEMA_URL container completed!" | |
30 | 30 | reachable=1 |
31 | 31 | fi |
32 | 32 | done | ... | ... |