diff options
author | Stephen Finucane <stephen.finucane@intel.com> | 2016-02-09 22:26:13 +0000 |
---|---|---|
committer | Stephen Finucane <stephen.finucane@intel.com> | 2016-02-10 20:12:38 +0000 |
commit | 6def775af3a727ace056be7de4df8fce35458536 (patch) | |
tree | 751c131958859cc7c5adf9eb3944dcbd9f4e4bfd /Vagrantfile | |
parent | f47701c7e403aef520956c4d3ba1587960c4ca41 (diff) | |
download | patchwork-6def775af3a727ace056be7de4df8fce35458536.tar patchwork-6def775af3a727ace056be7de4df8fce35458536.tar.gz |
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 <stephen.finucane@intel.com>
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 26 |
1 files changed, 26 insertions, 0 deletions
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 |