Browse code

Adjust CINDER_SECURE_DELETE flag to cinder changes

Cater for the pending more general cinder support
for configurable volume wiping method at:
https://review.openstack.org/#/c/12521

This change is done here first so as to not
trigger a CI lockup when the referenced patch above lands.
When that's in place, we can remove the older
secure_delete config adjustment in a subsequent patch.

Change-Id: I73fe2e0d1cf2815ab6025121584951cb5ff56fa3

Pádraig Brady authored on 2013/01/03 01:02:54
Showing 1 changed files
... ...
@@ -169,6 +169,7 @@ function configure_cinder() {
169 169
 
170 170
     if [[ "$CINDER_SECURE_DELETE" == "False" ]]; then
171 171
         iniset $CINDER_CONF DEFAULT secure_delete False
172
+        iniset $CINDER_CONF DEFAULT volume_clear none
172 173
     fi
173 174
 
174 175
     if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then