Created
April 16, 2014 14:41
-
-
Save GregGallant/10886813 to your computer and use it in GitHub Desktop.
Vagrant Funnies
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
alias vagrantfix='sudo /Library/StartupItems/VirtualBox/VirtualBox restart' | |
alias vagrantshalt='vboxmanage list runningvms | cut -d \" -f 2 | xargs -I % vboxmanage controlvm % poweroff' # Halt all vagrants | |
alias vagrantbounce="sudo echo ; vagrantshalt ; sleep 5 ; vagrantfix ; sleep 5 ; vagrantfix ; vagrant up ; vagrant ssh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment