Created
August 31, 2011 15:17
-
-
Save jlindsey/1183813 to your computer and use it in GitHub Desktop.
Power off a vagrant VM that has become unresponsive
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
cd /path/to/dir/with/Vagrantfile | |
VBoxManage controlvm $(cat .vagrant | awk 'BEGIN { FS = ":" } { print $3 }' | sed 's/["\}]//g') poweroff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Substitute
reset
forpoweroff
to restart it instead of shutting it down.