Browse code

Remove reference to QUANTUM_OVS_CONF_FILE before it is created.

This was introduced by commit 962c25eb7421094c6fc1ef7edb56fe1da69a972b,
but it completely breaks a clean install of devstack with OVS.

Note: the author was probably attempting to get devstack working in a
multi-node environment. There is another branch under submission for
that already.

Change-Id: Ie2cbcbd58e0d0babf9b0af0db9aa879703a2aeb9

Dan Wendlandt authored on 2012/05/13 10:40:13
Showing 1 changed files
... ...
@@ -1053,7 +1053,6 @@ if is_service_enabled q-svc; then
1053 1053
         if is_service_enabled mysql; then
1054 1054
             mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -e 'DROP DATABASE IF EXISTS ovs_quantum;'
1055 1055
             mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -e 'CREATE DATABASE IF NOT EXISTS ovs_quantum CHARACTER SET utf8;'
1056
-            sudo sed -i -e "s/^sql_connection =.*$/sql_connection = mysql:\/\/$MYSQL_USER:$MYSQL_PASSWORD@$MYSQL_HOST\/ovs_quantum?charset=utf8/g" $QUANTUM_OVS_CONFIG_FILE
1057 1056
         else
1058 1057
             echo "mysql must be enabled in order to use the $Q_PLUGIN Quantum plugin."
1059 1058
             exit 1