aboutsummaryrefslogtreecommitdiffstats
path: root/Vagrantfile
diff options
context:
space:
mode:
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
new file mode 100644
index 0000000000..e5e952c12b
--- /dev/null
+++ b/Vagrantfile
@@ -0,0 +1,27 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
+VAGRANTFILE_API_VERSION = "2"
+
+Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
+
+ # Base box is Ubuntu 14.04
+ config.vm.box = "ubuntu/trusty64"
+
+ # Bump the default resources as building is expensive
+ config.vm.provider "virtualbox" do |v|
+ v.memory = 1024
+ v.cpus = 2
+ end
+
+ # Share the source directory into the VM as `/wireshark`
+ config.vm.synced_folder ".", "/wireshark"
+
+ # Permit X11 forwarding so running the graphical Wireshark works
+ config.ssh.forward_x11 = true
+
+ # Install and build the various things (including wireshark!)
+ config.vm.provision :shell, path: 'vagrant_provision.sh'
+ config.vm.provision :shell, path: 'vagrant_build.sh', privileged: false
+end