[ovs-dev] [PATCH 5/6] vagrant: Ignore common ovs-dev.py paths for rsync.

Joe Stringer joe at ovn.org
Tue May 24 01:33:56 UTC 2016


On 23 May 2016 at 16:25, Andy Zhou <azhou at ovn.org> wrote:
>
>
> On Fri, May 20, 2016 at 11:49 AM, Joe Stringer <joe at ovn.org> wrote:
>>
>> Signed-off-by: Joe Stringer <joe at ovn.org>
>> ---
>>  Vagrantfile | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/Vagrantfile b/Vagrantfile
>> index dab03de56fac..a3d444d366ba 100644
>> --- a/Vagrantfile
>> +++ b/Vagrantfile
>> @@ -65,5 +65,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
>>         fedora.vm.provision "test_ovs_kmod", type: "shell", inline:
>> $test_kmod
>>         fedora.vm.provision "test_ovs_system_userspace", type: "shell",
>> inline: $test_ovs_system_userspace
>>         fedora.vm.provision "install_rpm", type: "shell", inline:
>> $install_rpm
>> +       fedora.vm.synced_folder ".", "/vagrant", type: "rsync",
>> +           rsync__exclude: [ ".git/", "_build-gcc", "_build-clang",
>> "_run"]
>
>
> It seems only libvirt provider currnelty uses rsync. Other platforms mounts
> the /vagrant directory. Would
> it make sense for the libvirt provider set up to do the same?

Hm, I assumed that this was just how it worked and I added this to
prevent it from syncing unnecessary directories.

I'll investigate using shared directories with libvirt.



More information about the dev mailing list