DevStack: Fix cleaning up nodes with NVRAM (UEFI)
This patch is fixing the cleanup_nodes.sh script to take in account undefining nodes with NVRAM set (UEFI mode). The --nvram option is now being passed to the "virsh undefine" command, this will undefine nodes with (and without) NVRAM set. Change-Id: Idbc2d0d1765cad969e68544109bd44963cadc06c Closes-Bug: #1659335
This commit is contained in:
parent
045c5179f0
commit
6eab33788a
@ -19,7 +19,7 @@ export VIRSH_DEFAULT_CONNECT_URI=$LIBVIRT_CONNECT_URI
|
||||
|
||||
VOL_NAME="$NAME.qcow2"
|
||||
virsh list | grep -q $NAME && virsh destroy $NAME
|
||||
virsh list --inactive | grep -q $NAME && virsh undefine $NAME
|
||||
virsh list --inactive | grep -q $NAME && virsh undefine $NAME --nvram
|
||||
|
||||
# Delete the Virtual BMC
|
||||
if [[ $(type -P vbmc) != "" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user