test: fix paths after source code move
[vpp.git] / build-root / vagrant / Vagrantfile
index 641397e..1f8cf9a 100644 (file)
@@ -59,8 +59,24 @@ Vagrant.configure(2) do |config|
 
   vmcpu=(ENV['VPP_VAGRANT_VMCPU'] || 2)
   vmram=(ENV['VPP_VAGRANT_VMRAM'] || 4096)
-  
-  config.vm.synced_folder "../../", "/vpp", disabled: false
+
+  config.ssh.forward_agent = true
+
+  config.vm.synced_folder "../../", "/vpp", type: "rsync",
+   rsync__auto: false,
+   rsync__exclude: [
+    "build-root/build*/",
+    "build-root/install*/",
+    "build-root/images*/",
+    "build-root/*.deb",
+    "build-root/*.rpm",
+    "build-root/*.changes",
+    "build-root/python",
+    "build-root/deb/debian/*.dkms",
+    "build-root/deb/debian/*.install",
+    "build-root/deb/debian/changes",
+    "build-root/tools"]
+
   config.vm.provider "virtualbox" do |vb|
       vb.customize ["modifyvm", :id, "--ioapic", "on"]
       vb.memory = "#{vmram}"