Created
January 17, 2012 19:54
-
-
Save fish2000/1628470 to your computer and use it in GitHub Desktop.
Spin up a temporary Vagrant VirtualBox machine instance
This file contains hidden or 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/sh | |
| # | |
| # where are we? | |
| # courtesy http://stackoverflow.com/a/246128/298171 | |
| SOURCE="${BASH_SOURCE[0]}" | |
| while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done | |
| DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | |
| DEST=/tmp/ovst2-$$ | |
| mkdir -p $DEST | |
| cp ${DIR}/Vagrantfile $DEST | |
| cp ${DIR}/ovst2-provision.sh $DEST | |
| cd $DEST | |
| git clone git@github.com:fish2000/ost2.git ./ost2 | |
| vagrant up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment