Skip to content

Commit

Permalink
Merge pull request #1895 from r2d4/hyperkit-disk
Browse files Browse the repository at this point in the history
Change cleanup command to accomodate swap disk
  • Loading branch information
r2d4 committed Aug 28, 2017
2 parents e64f06e + afc8b52 commit a40b2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/jenkins/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ vboxmanage list vms \

# Clean up xhyve disks
hdiutil info \
| grep -v /dev/disk0 \
| grep /dev/ \
| egrep \/dev\/disk[1-9][^s] \
| awk '{print $1}' \
| xargs -I {} sh -c "hdiutil detach {}" \
|| true

Expand Down

0 comments on commit a40b2f0

Please sign in to comment.