Skip to content

Commit

Permalink
Include hostonlyifs cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tstromberg committed Oct 9, 2019
1 parent 96b230e commit 34b6f6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hack/jenkins/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ if type -P vboxmanage; then
vboxmanage startvm $guid --type emergencystop || true
vboxmanage unregistervm $guid || true
done

vboxmanage list hostonlyifs \
| grep "^Name:" \
| awk '{ print $2 }' \
| xargs -n1 vboxmanage hostonlyif remove || true

echo ">> VirtualBox VM list after clean up (should be empty):"
vboxmanage list vms || true
fi
Expand Down

0 comments on commit 34b6f6d

Please sign in to comment.