Skip to content

Instantly share code, notes, and snippets.

@jlindsey
Created August 31, 2011 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jlindsey/1183813 to your computer and use it in GitHub Desktop.
Save jlindsey/1183813 to your computer and use it in GitHub Desktop.
Power off a vagrant VM that has become unresponsive
cd /path/to/dir/with/Vagrantfile
VBoxManage controlvm $(cat .vagrant | awk 'BEGIN { FS = ":" } { print $3 }' | sed 's/["\}]//g') poweroff
@jlindsey
Copy link
Author

Substitute reset for poweroff to restart it instead of shutting it down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment