12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- VAGRANTFILE_API_VERSION = "2"
- Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
-
- config.vm.box = "ubuntu/trusty64"
-
- config.vm.box_check_update = false
-
- config.vm.network "private_network", type: "dhcp"
-
- config.vm.network "forwarded_port", guest: 43110, host: 43110
- config.vm.network "forwarded_port", guest: 15441, host: 15441
-
- config.vm.synced_folder ".", "/vagrant",
- :nfs => !Vagrant::Util::Platform.windows?
-
- config.vm.provider "virtualbox" do |vb|
-
-
-
- vb.customize ["modifyvm", :id, "--memory", "512"]
- vb.customize ["modifyvm", :id, "--cpus", 1]
- end
-
- config.vm.provision "shell",
- inline: "sudo apt-get update -y && sudo apt-get upgrade -y"
-
- config.vm.provision "shell",
- inline: "sudo apt-get install msgpack-python python-gevent python-pip python-dev -y"
- config.vm.provision "shell",
- inline: "sudo pip install msgpack --upgrade"
- end
|