Fix variable name in cleanup_baremetal_basic_ops func
Correcting the variable name for virtual bmc instances during devstack unstack ironic cleanup phase. Change-Id: Ie35a45e0806f9da07d121900831c6a61e33d23e5
This commit is contained in:
@@ -2718,7 +2718,7 @@ function cleanup_baremetal_basic_ops {
|
|||||||
for vm_name in $(_ironic_bm_vm_names); do
|
for vm_name in $(_ironic_bm_vm_names); do
|
||||||
# Delete the Virtual BMCs
|
# Delete the Virtual BMCs
|
||||||
if is_deployed_by_ipmi; then
|
if is_deployed_by_ipmi; then
|
||||||
vbmc --no-daemon list | grep -a $NAME && vbmc --no-daemon delete $NAME || /bin/true
|
vbmc --no-daemon list | grep -a $vm_name && vbmc --no-daemon delete $vm_name || /bin/true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# pick up the $LIBVIRT_GROUP we have possibly joint
|
# pick up the $LIBVIRT_GROUP we have possibly joint
|
||||||
|
|||||||
Reference in New Issue
Block a user