Created
March 8, 2018 02:06
-
-
Save abdennour/525f1489d57dfc45334bd50bbf6d12f6 to your computer and use it in GitHub Desktop.
Destroy all running Vagrant boxes after Confirmation
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 | |
for i in `vagrant global-status | grep virtualbox | awk '{ print $1 }'` ; do vagrant destroy $i ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment