Skip to content

Commit adb350e

Browse files
author
Ihar Hrachyshka
committed
sno.sh: remove volume on cleanup
1 parent 9c3d82f commit adb350e

File tree

1 file changed

+1
-0
lines changed
  • devsetup/scripts/ipv6-nat64

1 file changed

+1
-0
lines changed

devsetup/scripts/ipv6-nat64/sno.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ function destroy_sno_instance {
214214
${VIRSH_CMD} undefine "${SNO_INSTANCE_NAME}" --nvram --remove-all-storage
215215
echo "OCP single-node instance: ${SNO_INSTANCE_NAME} deleted"
216216
fi
217+
sudo virsh vol-delete --pool ${LIBVIRT_STORAGE_POOL} ${BOOTSTRAP_ISO_FILENAME} || true
217218
}
218219

219220
function create_dnsmasq_config {

0 commit comments

Comments
 (0)