Skip to content

Commit

Permalink
tests/vm-migration: add cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Oct 11, 2024
1 parent 432e0d1 commit c6bc3c1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/vm-migration
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,14 @@ lxc exec member1 -- lxc start v1
sleep 60
lxc exec member1 -- lxc move v1 --target member2

echo "Deleting instances and volumes"
lxc delete -f member1 member2 ceph
lxc storage volume create default ceph-disk

# Cleanup
lxc profile device remove default eth0
lxc network delete lxdbr0
lxc storage delete default

# shellcheck disable=SC2034
FAIL=0

0 comments on commit c6bc3c1

Please sign in to comment.