Merge "Remove CINDER_VOLUME_CLEAR value validation"
This commit is contained in:
commit
82fbf336a2
@ -317,9 +317,7 @@ function configure_cinder {
|
|||||||
|
|
||||||
iniset_rpc_backend cinder $CINDER_CONF
|
iniset_rpc_backend cinder $CINDER_CONF
|
||||||
|
|
||||||
if [[ "$CINDER_VOLUME_CLEAR" == "none" ]] || [[ "$CINDER_VOLUME_CLEAR" == "zero" ]] || [[ "$CINDER_VOLUME_CLEAR" == "shred" ]]; then
|
|
||||||
iniset $CINDER_CONF DEFAULT volume_clear $CINDER_VOLUME_CLEAR
|
iniset $CINDER_CONF DEFAULT volume_clear $CINDER_VOLUME_CLEAR
|
||||||
fi
|
|
||||||
|
|
||||||
# Format logging
|
# Format logging
|
||||||
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ] && [ "$CINDER_USE_MOD_WSGI" == "False" ]; then
|
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ] && [ "$CINDER_USE_MOD_WSGI" == "False" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user