Browse code

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

Akihiro Motoki authored on 2014/11/18 13:41:58
Showing 1 changed files
... ...
@@ -142,7 +142,7 @@ EOF
142 142
     fi
143 143
     # Install mysql-server
144 144
     if is_ubuntu || is_fedora; then
145
-        if [[ $DISTRO =~ (rhel6) ]]; then
145
+        if [[ $DISTRO =~ (rhel6|precise) ]]; then
146 146
             install_package mysql-server
147 147
         else
148 148
             install_package mariadb-server