Browse Source

get database host name from TFB_DATABASE_HOST env variable

marko asplund 11 years ago
parent
commit
373df8b710
1 changed files with 2 additions and 2 deletions
  1. 2 2
      toolset/setup/linux/installer.py

+ 2 - 2
toolset/setup/linux/installer.py

@@ -575,8 +575,8 @@ class Installer:
     pushd apache-cassandra-$CASS_V
     nohup ./bin/cassandra
     sleep 10
-    cat ../cassandra/create-keyspace.cql | ./bin/cqlsh tfbdata
-    python ../cassandra/db-data-gen.py | ./bin/cqlsh tfbdata
+    cat ../cassandra/create-keyspace.cql | ./bin/cqlsh $TFB_DATABASE_HOST
+    python ../cassandra/db-data-gen.py | ./bin/cqlsh $TFB_DATABASE_HOST
     popd
     """