Last active
January 1, 2016 09:39
-
-
Save lunaru/8126110 to your computer and use it in GitHub Desktop.
Mac OS X dev box bootstrap (VirtualBox and Vagrant)
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
#!/bin/bash | |
# Requires a system with ruby and git | |
# This usually means that install XCode on a vanilla Mac OS X will do | |
# After installing XCode, make sure to install developer tools | |
# hack to cache sudo password | |
sudo uptime; | |
# we need chef | |
if rvm --version 2>/dev/null; then | |
gem install chef | |
else | |
sudo gem install chef | |
fi | |
git clone --recursive [email protected]:bootstrap.git | |
cd bootstrap | |
# run the chef install | |
chef-solo -c solo.rb -j solo.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment