Skip to content

Instantly share code, notes, and snippets.

@lunaru
Last active January 1, 2016 09:39
Show Gist options
  • Save lunaru/8126110 to your computer and use it in GitHub Desktop.
Save lunaru/8126110 to your computer and use it in GitHub Desktop.
Mac OS X dev box bootstrap (VirtualBox and Vagrant)
#!/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 git@lunaru.com: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