epan/dissectors/packet-xml.c try to decrypt data, but the data doesn't look correct yet
[metze/wireshark/wip.git] / Vagrantfile
index 2f38d0e1924fccd2705e936ac9026dadcf73d93e..c5f0f603e5102769bb715b8ec246eff4f6e89a10 100644 (file)
@@ -15,6 +15,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   # Permit X11 forwarding so running the graphical Wireshark works
   config.ssh.forward_x11 = true
 
+  # Mounting to /vagrant (the default) won't work for building a
+  # Debian package. Let's be consistent for all boxes.
+  config.vm.synced_folder ".", "/vagrant", disabled: true
+  config.vm.synced_folder ".", "/home/vagrant/wireshark", type: "virtualbox"
+
   # Install and build the various things (including wireshark!)
   config.vm.define "ubuntu", autostart: false do |deb|
     deb.vm.box = "ubuntu/xenial64"
@@ -23,6 +28,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       s.path = 'tools/debian-setup.sh'
       s.args = ['--install-optional', '--assume-yes']
     end
+    deb.vm.provision :shell, inline: "apt-get -y install ccache"
     deb.vm.provision :shell, path: 'vagrant_build.sh', privileged: false
   end
 
@@ -33,6 +39,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       s.path = 'tools/rpm-setup.sh'
       s.args = ['--install-optional', '--assumeyes']
     end
+    rpm.vm.provision :shell, inline: "yum -y install ccache"
     rpm.vm.provision :shell, path: 'vagrant_build.sh', privileged: false
   end
 end