Browse code

delete cinder configuration file before config it

Some misleading configuration item will remain if we don't delete the cinder
conf everytime before we configure it.

Change-Id: Iab6a5d7bc5fdcb05b28d24b0419c0bf380a140c1
Closes-bug: #1405301

Yalei Wang authored on 2015/01/05 18:05:47
Showing 1 changed files
... ...
@@ -205,6 +205,8 @@ function configure_cinder {
205 205
 
206 206
     cp -p $CINDER_DIR/etc/cinder/policy.json $CINDER_CONF_DIR
207 207
 
208
+    rm -f $CINDER_CONF
209
+
208 210
     configure_cinder_rootwrap
209 211
 
210 212
     cp $CINDER_DIR/etc/cinder/api-paste.ini $CINDER_API_PASTE_INI