diskimage-builder/elements/openstack-db/install.d/50-openstack-db
Tim Miller dc845466bc Add an openstack all-openstack-db element:
This element installs all openstack sql databases into
a single image, useful for a bootstrap image.

Change-Id: I6efe807793ec620a60d5798d28a7e3103a5b90e8
2013-02-25 17:09:37 -08:00

12 lines
467 B
Bash
Executable File

#!/bin/bash
set -eu
install-packages mysql-server python-mysqldb
sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf
os-svc-install -u keystone -r https://github.com/openstack/keystone.git
os-svc-install -u cinder -r https://github.com/openstack/cinder.git
os-svc-install -u nova -r https://github.com/openstack/nova.git
os-svc-install -u glance -r https://github.com/openstack/glance.git
os-svc-install -u quantum -r https://github.com/openstack/quantum.git