Skip to content

Instantly share code, notes, and snippets.

@knikolla
Created May 19, 2016 16:30
Show Gist options
  • Select an option

  • Save knikolla/0b9df108f37c3aaa2bc7b3db741896bd to your computer and use it in GitHub Desktop.

Select an option

Save knikolla/0b9df108f37c3aaa2bc7b3db741896bd to your computer and use it in GitHub Desktop.
toxman Vagrant
$bootstrap = <<SCRIPT
sudo apt-get update
sudo apt-get install -y git \
python-pip python-dev python3-dev \
libxml2-dev libxslt1-dev libpq-dev libffi-dev libldap2-dev \
libsasl2-dev
sudo pip install tox
SCRIPT
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.hostname = "toxman"
config.vm.network :private_network, ip: "10.1.2.3"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 2
end
config.vm.provision "shell", inline: $bootstrap
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment