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
@@ -205,6 +205,8 @@ function configure_cinder {
cp -p $CINDER_DIR/etc/cinder/policy.json $CINDER_CONF_DIR
+ rm -f $CINDER_CONF
+
configure_cinder_rootwrap
cp $CINDER_DIR/etc/cinder/api-paste.ini $CINDER_API_PASTE_INI