Added initialization steps for keystone

This commit is contained in:
Egon Rijpkema
2017-05-11 15:55:05 +02:00
parent cdfa53ec37
commit d3f131e58f
6 changed files with 38 additions and 17 deletions

View File

@ -0,0 +1,6 @@
#!/bin/bash
mysql -uroot -pgeheim --host 127.0.0.1 << EOF
CREATE DATABASE IF NOT EXISTS keystone;
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'keystone';
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'keystone';
EOF