aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-minimal-onap/Vagrantfile
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-01-27 17:34:05 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2020-01-29 17:12:32 +0100
commitba88f291de193a74f03e99e4348c37ff9c4ffdfd (patch)
tree456adfb96c7bc5441b63c6769773ebe3d4024915 /bootstrap/vagrant-minimal-onap/Vagrantfile
parent228c62e51e65cf97e277fc257ea27b07dcf55212 (diff)
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 <p.wieczorek2@samsung.com>
Diffstat (limited to 'bootstrap/vagrant-minimal-onap/Vagrantfile')
-rw-r--r--bootstrap/vagrant-minimal-onap/Vagrantfile2
1 files changed, 1 insertions, 1 deletions
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