From e0cc078db7b2eb763cef5da02bc317a78a74d887 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 29 Jan 2018 12:38:33 +0000 Subject: [PATCH] Vagrantfile: Use rsync to copy working directory to VM Depending on the VM distro the working directory can either be rsync'd to the VM or mounted. When the directory is mounted, various artifacts are left behind from the test execution which is not desired especially when the directory is shared between multiple VMs for parallel testing. As such, it's best to simply copy the directory to the VM using 'rsync' so each VM can get its own copy. Change-Id: I2ef84692b57e136fc6008f33f3e48f861f9a58da Link: I1aab7d3f0d26f35dea84ae088fe78cfd2de79366 --- Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 51b74918b6..c9b01edeba 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -26,6 +26,8 @@ Vagrant.configure(2) do |config| v.cpus = 4 end + config.vm.synced_folder ".", "/vagrant", type: "rsync" + # Configure the disk size. disk_size = "60GB"