From: Pawel Wieczorek Date: Mon, 27 Jan 2020 16:34:05 +0000 (+0100) Subject: Ignore reverse-SSHFS mountpoint from file synchronization X-Git-Tag: 6.0.0-ONAP~217 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ba88f291de193a74f03e99e4348c37ff9c4ffdfd;p=integration.git 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 --- 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