From 65a95123ced5ca603e22c70b9737ac7968e4d98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Thu, 30 Aug 2018 23:11:02 +0100 Subject: vagrant: Mount synced folder under home Change-Id: Ib533f762f110d45d3daae6b5ccb6e3d243f60058 Reviewed-on: https://code.wireshark.org/review/29361 Reviewed-by: Anders Broman --- Vagrantfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile index 8e8d20a71b..c5f0f603e5 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,11 +15,14 @@ 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" - # XXX: Mounting to /vagrant (the default) won't work for building a - # Debian package. deb.vm.provision "shell" do |s| s.path = 'tools/debian-setup.sh' -- cgit v1.2.3