Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created September 13, 2013 17:55
Show Gist options
  • Save ahonor/6553925 to your computer and use it in GitHub Desktop.
Save ahonor/6553925 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
yum -y install curl unzip nc autoconf
# Add the Webtatic repository to get git software.
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
# Install the latest version of git
yum -y install --enablerepo=webtatic git-all
#
# Rerun
#
RERUN_REPO_URL="https://bintray.com/ahonor/rerun-rpm/rpm"
curl -# --fail -L -o /etc/yum.repos.d/rerun.repo "$RERUN_REPO_URL" || {
echo "failed downloading rerun.repo config"
exit 3
}
yum -y install rerun
git clone https://github.com/rerun/rerun.git
cd rerun
./setup.sh
Vagrant.configure("2") do |config|
#config.vm.box_url = "https://dl.dropbox.com/u/17738575/CentOS-5.8-x86_64.box"
#config.vm.box = "CentOS-5.8-x86_64"
config.vm.box_url = "http://tag1consulting.com/files/centos-5.8-x86-64-minimal.box"
config.vm.box = "centos-5.8-x86-64-minimal"
config.vm.provision :shell, :path => "bootstrap.sh"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment