wireshark/Vagrantfile
Evan Huus 47abcfc747 Vagrant setup fixes
- add license headers to the scripts
- don't mount `.` into the VM manually, vagrant already puts it in /vagrant/
  for us, just use that.
- build with -j3, slightly more efficient even with two cores

Change-Id: I43580ade7ae2635696072b39e4f18a401a030a85
Reviewed-on: https://code.wireshark.org/review/9127
Reviewed-by: Evan Huus <eapache@gmail.com>
2015-06-25 15:24:06 +00:00

25 lines
716 B
Ruby

# -*- 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
# 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