Skip to content
Browse files

Okay - works again!

  • Loading branch information...
1 parent 71fe572 commit c5c2f42c24779ac7c8774ddac405430e1b63e61b @kiall kiall committed Nov 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 keystone.sh
View
2 keystone.sh
@@ -9,7 +9,7 @@ apt-get install -y keystone python-mysqldb mysql-client curl
mysql -h $MYSQL_HOST -u root -p$MYSQL_ROOT_PASS -e 'DROP DATABASE IF EXISTS keystone;'
mysql -h $MYSQL_HOST -u root -p$MYSQL_ROOT_PASS -e 'CREATE DATABASE keystone;'
-echo "GRANT ALL ON keystone.* TO 'keystone'@'%' IDENTIFIED BY '$MYSQL_KEYSTONE_PASS'; FLUSH PRIVILEGES;" #| mysql -h $MYSQL_HOST -u root -p$MYSQL_ROOT_PASS
+echo "GRANT ALL ON keystone.* TO 'keystone'@'%' IDENTIFIED BY '$MYSQL_KEYSTONE_PASS'; FLUSH PRIVILEGES;" | mysql -h $MYSQL_HOST -u root -p$MYSQL_ROOT_PASS
sed -e "s,%MYSQL_HOST%,$MYSQL_HOST,g" keystone.conf.tmpl > keystone.conf
sed -e "s,%MYSQL_KEYSTONE_PASS%,$MYSQL_KEYSTONE_PASS,g" -i keystone.conf

0 comments on commit c5c2f42

Please sign in to comment.
Something went wrong with that request. Please try again.