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
This commit is contained in:
parent
5c0a3cfb71
commit
cecbd1ff6f
@ -205,6 +205,8 @@ function configure_cinder {
|
|||||||
|
|
||||||
cp -p $CINDER_DIR/etc/cinder/policy.json $CINDER_CONF_DIR
|
cp -p $CINDER_DIR/etc/cinder/policy.json $CINDER_CONF_DIR
|
||||||
|
|
||||||
|
rm -f $CINDER_CONF
|
||||||
|
|
||||||
configure_cinder_rootwrap
|
configure_cinder_rootwrap
|
||||||
|
|
||||||
cp $CINDER_DIR/etc/cinder/api-paste.ini $CINDER_API_PASTE_INI
|
cp $CINDER_DIR/etc/cinder/api-paste.ini $CINDER_API_PASTE_INI
|
||||||
|
Loading…
Reference in New Issue
Block a user