From ba88f291de193a74f03e99e4348c37ff9c4ffdfd Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek
Date: Mon, 27 Jan 2020 17:34:05 +0100
Subject: Ignore reverse-SSHFS mountpoint from file synchronization
This patch intends to avoid attempts to synchronize files to the VM that
have been mounted from it.
Issue-ID: ONAPARC-551
Change-Id: Ida9b13c5f109d3a05dd35e68f17e7898f23750c5
Signed-off-by: Pawel Wieczorek
---
bootstrap/vagrant-minimal-onap/Vagrantfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'bootstrap')
diff --git a/bootstrap/vagrant-minimal-onap/Vagrantfile b/bootstrap/vagrant-minimal-onap/Vagrantfile
index 0e72b880a..e12c035bf 100644
--- a/bootstrap/vagrant-minimal-onap/Vagrantfile
+++ b/bootstrap/vagrant-minimal-onap/Vagrantfile
@@ -195,7 +195,7 @@ Vagrant.configure('2') do |config|
end
if machine[:name] == 'operator'
- config.vm.synced_folder ".", synced_folder_main, type: "rsync", rsync__exclude: "Vagrantfile"
+ config.vm.synced_folder ".", synced_folder_main, type: "rsync", rsync__exclude: ["Vagrantfile", "operator"]
config.vm.synced_folder "./operator", "/home/#{vagrant_user}", type: "sshfs", reverse: true, sshfs_opts_append: "-o nonempty"
config.vm.provision "setup_debconf", type: :shell, inline: $setup_debconf
--
cgit 1.2.3-korg