Added initialization steps for keystone
This commit is contained in:
6
roles/keystone/scripts/initialize_db.sh
Normal file
6
roles/keystone/scripts/initialize_db.sh
Normal 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
|
Reference in New Issue
Block a user