diff options
author | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2020-01-16 16:21:02 +0100 |
---|---|---|
committer | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2020-01-16 16:23:20 +0100 |
commit | b0accc3b42d9fa079d30ad6c5d32129e084a1ab9 (patch) | |
tree | e19395acca1bd05414aeb0c493df3c264356b715 /bootstrap/vagrant-minimal-onap/Vagrantfile | |
parent | 2289007753fab6d836b83022300c7b13cb782f37 (diff) |
Add reverse-SSHFS-based file synchronization from Operator's machine
This patch also introduces (almost) empty directory to the repository as
a mountpoint for the synchronized files. Additional flag ("nonempty") is
passed upon mounting directory to ignore the sole file there
("operator/.gitignore").
Issue-ID: ONAPARC-551
Change-Id: I9187325a08cccb98b7335fcb320c2004ed26e7f3
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'bootstrap/vagrant-minimal-onap/Vagrantfile')
-rw-r--r-- | bootstrap/vagrant-minimal-onap/Vagrantfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap/vagrant-minimal-onap/Vagrantfile b/bootstrap/vagrant-minimal-onap/Vagrantfile index 1e66ad80c..0e72b880a 100644 --- a/bootstrap/vagrant-minimal-onap/Vagrantfile +++ b/bootstrap/vagrant-minimal-onap/Vagrantfile @@ -196,6 +196,7 @@ Vagrant.configure('2') do |config| if machine[:name] == 'operator' config.vm.synced_folder ".", synced_folder_main, type: "rsync", rsync__exclude: "Vagrantfile" + 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 config.vm.provision "link_apt_prefs", type: :shell, run: "always" do |s| |