Use mysql in Ubuntu 12.04 (precise)

After commit 6d20f090, devstack does not work on Ubuntu 12.04
because Ubuntu 12.04 does not provide mariadb but devstack expects it.

Change-Id: Iae9a7a1c09f1fc83573c3926b3470955c244c401
This commit is contained in:
Akihiro Motoki 2014-11-18 13:41:58 +09:00
parent 9bfdea87a6
commit 8f003ef9bf

View File

@ -142,7 +142,7 @@ EOF
fi fi
# Install mysql-server # Install mysql-server
if is_ubuntu || is_fedora; then if is_ubuntu || is_fedora; then
if [[ $DISTRO =~ (rhel6) ]]; then if [[ $DISTRO =~ (rhel6|precise) ]]; then
install_package mysql-server install_package mysql-server
else else
install_package mariadb-server install_package mariadb-server