Browse code

Clean /etc/mysql when calling clean.sh

The clean.sh script should also remove the /etc/mysql
directory. It contains information from the old
devstack installation and may conflict with the further
one. apt-get purge does not remove it since the
directory is not empty.

Change-Id: I885345a2311851d8746abe42e44300ecd4f6e08a

Tiago Mello authored on 2014/03/14 22:48:56
Showing 1 changed files
... ...
@@ -23,6 +23,7 @@ function cleanup_database_mysql {
23 23
         stop_service $MYSQL
24 24
         apt_get purge -y mysql*
25 25
         sudo rm -rf /var/lib/mysql
26
+        sudo rm -rf /etc/mysql
26 27
         return
27 28
     elif is_fedora; then
28 29
         if [[ $DISTRO =~ (rhel7) ]]; then