aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/keystone/start5
1 files changed, 1 insertions, 4 deletions
diff --git a/docker/keystone/start b/docker/keystone/start
index a2789cf0f..5b46dfedd 100755
--- a/docker/keystone/start
+++ b/docker/keystone/start
@@ -2,10 +2,7 @@
env > /root/ENV
-
-sleep 1000000
-
-socat UNIX-LISTEN:/var/lib/mysql/mysql.sock,fork,reuseaddr,unlink-early,user=mysql,group=mysql,mode=777 TCP:127.0.0.1:3306 &
+socat UNIX-LISTEN:/var/lib/mysql/mysql.sock,fork,reuseaddr,unlink-early,user=mysql,group=mysql,mode=777 TCP:${SERVICE_HOST}:${MARIADBMASTER_SERVICE_PORT} &
/usr/bin/openstack-db --service keystone --init --yes --rootpw ${DB_ROOT_PASSWORD} --password redhat