Created
April 11, 2017 23:21
-
-
Save wilvk/2ff227794b97590dd02b7c019e0bd565 to your computer and use it in GitHub Desktop.
Vagrant Global Destroy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
vagrant global-status | tail -n +3 | cut -d' ' -f1 | sed '/^$/q'|xargs -I %s vagrant destroy %s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment