Skip to content

Instantly share code, notes, and snippets.

@ryanwinchester
Created June 20, 2014 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanwinchester/3d9806c5f8961af9e8be to your computer and use it in GitHub Desktop.
Save ryanwinchester/3d9806c5f8961af9e8be to your computer and use it in GitHub Desktop.
Start up Homestead VM
#!/bin/bash
cd c:/vagrant/Homestead
vagrant up
while true; do
read -p "Do you want to quit yet?" yn
case $yn in
[Yy]* ) vagrant halt; break;;
* ) echo "Okay then. Waiting for (y)es...";;
esac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment