Skip to content

Commit

Permalink
Switched Vagrant setup to CentOS 6.5 that got Python 2.6 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahaja committed Mar 29, 2014
1 parent a62f81f commit b91ee62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
5 changes: 2 additions & 3 deletions vagrant.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b91ee62

Please sign in to comment.