From b91ee62c99463936a8f489f60df834da004f5a5a Mon Sep 17 00:00:00 2001 From: Joakim Hamren Date: Sat, 29 Mar 2014 09:10:45 +0100 Subject: [PATCH] Switched Vagrant setup to CentOS 6.5 that got Python 2.6 by default --- Vagrantfile | 3 +-- vagrant.sh | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 6cc1834..e30a6ed 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,8 +4,7 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "precise64" - config.vm.box_url = "http://files.vagrantup.com/precise64.box" + config.vm.box = "chef/centos-6.5" config.vm.network :forwarded_port, guest: 5000, host: 5000 config.vm.provision "shell", path: "vagrant.sh" diff --git a/vagrant.sh b/vagrant.sh index f8d3efc..190896b 100644 --- a/vagrant.sh +++ b/vagrant.sh @@ -1,7 +1,6 @@ #!/bin/sh -apt-get update -y -apt-get upgrade -y -apt-get install -y build-essential python-dev python-pip +yum update -y +yum install -y gcc make python-devel python-setuptools cd /vagrant python setup.py develop