Created
May 19, 2016 16:30
-
-
Save knikolla/0b9df108f37c3aaa2bc7b3db741896bd to your computer and use it in GitHub Desktop.
toxman Vagrant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $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