From 6def775af3a727ace056be7de4df8fce35458536 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 9 Feb 2016 22:26:13 +0000 Subject: vagrant: Add Vagrant-based development environment Integrate Vagrant by way of a Vagrantfile and a simple install script. This follows many of the instructions found in the development guide with the exceptions of the superuser creation, which is optional, the loading of archives, which requires per-user authentication, and the use of virtual environments, which are unnecessary in a teardown environment such as this. Signed-off-by: Stephen Finucane --- Vagrantfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Vagrantfile (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..b316d41 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,26 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure(2) do |config| + # For a complete reference of available confguration options, please see the + # online documentation at https://docs.vagrantup.com. + + config.vm.box = "ubuntu/trusty32" + + config.vm.network "forwarded_port", guest: 8000, host: 8000 + # Enable this if you want host-only access to the machine using the given IP + # config.vm.network "private_network", ip: "192.168.33.10" + + # Provider-specific configuration so you can fine-tune various + # backing providers for Vagrant. These expose provider-specific options. + # + # config.vm.provider "virtualbox" do |vb| + # # Display the VirtualBox GUI when booting the machine + # vb.gui = true + # + # # Customize the amount of memory on the VM: + # vb.memory = "1024" + # end + + config.vm.provision :shell, :path => "tools/install/install.sh" +end -- cgit v1.2.3