From d9317acf26babbc1aa31c234c83db138f9475596 Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Mon, 19 Feb 2018 23:13:36 +0100 Subject: Add Vagrantfile * attempt to fix stacktrace when initialising logger * adds vagrantfile for local development * restart rethinkdb after setting config * fix source .profile * adds alias python=python3.6 * include more reminder of what to add in hosts file * also install snekchek in vm * update vagrant bootstrap script to properly include environment variables in bashrc --- Vagrantfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Vagrantfile (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..deb6d019 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,24 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + + config.vm.define "pddev" do |dev| + dev.vm.box = "ubuntu/xenial64" + dev.vm.host_name = "pddev" + dev.vm.network :private_network, ip: "10.1.0.2" + config.vm.provider :virtualbox do |vb| + vb.customize ["modifyvm", :id, "--memory", "2048"] + vb.customize ["modifyvm", :id, "--ioapic", "on"] + vb.customize ["modifyvm", :id, "--cpus", "2"] + vb.linked_clone = true + config.vm.synced_folder ".", "/vagrant", + type: "virtualbox", + mount_options: ["dmode=775,fmode=775"] + end + config.vm.provision "shell", path: "Vagrant_bootstrap.sh" + end + +end -- cgit v1.2.3