Fedora openstack projects use new tools to setup databases

Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Steven Dake 2012-05-21 16:43:48 -07:00
parent 3970b5d76a
commit 4c68cf63e3

View File

@ -98,14 +98,14 @@ function os_erase() {
function os_install() {
sudo yum install -y openstack-nova openstack-glance openstack-keystone openstack-dashboard scsi-target-utils
sudo yum install -y openstack-utils openstack-nova openstack-glance openstack-keystone openstack-dashboard scsi-target-utils
sudo dd if=/dev/zero of=/var/lib/nova/nova-volumes.img bs=1M seek=20k count=0
sudo systemctl start mysqld.service
sleep 1
# Configure the databases
sudo openstack-nova-db-setup $*
sudo openstack-glance-db-setup $*
sudo openstack-keystone-db-setup $*
sudo openstack-db --service nova --init
sudo openstack-db --service glance --init
sudo openstack-db --service keystone --init
# Create a keystone RC file
mkdir -p $HOME/.openstack