Skip to content

Commit 1612941

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Use LVM_VOLUME_CLEAR if set"
2 parents 7cd7f05 + ea76f31 commit 1612941

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/nova

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,9 @@ function create_nova_conf {
592592
if [[ "$NOVA_BACKEND" == "LVM" ]]; then
593593
iniset $NOVA_CONF libvirt images_type "lvm"
594594
iniset $NOVA_CONF libvirt images_volume_group $DEFAULT_VOLUME_GROUP_NAME
595+
if isset LVM_VOLUME_CLEAR; then
596+
iniset $NOVA_CONF libvirt volume_clear "$LVM_VOLUME_CLEAR"
597+
fi
595598
fi
596599

597600
if is_ssl_enabled_service glance || is_service_enabled tls-proxy; then

0 commit comments

Comments
 (0)