aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-minimal-onap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-minimal-onap')
-rw-r--r--bootstrap/vagrant-minimal-onap/Vagrantfile1
-rw-r--r--bootstrap/vagrant-minimal-onap/operator/.gitignore5
2 files changed, 6 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|
diff --git a/bootstrap/vagrant-minimal-onap/operator/.gitignore b/bootstrap/vagrant-minimal-onap/operator/.gitignore
new file mode 100644
index 000000000..260825bbc
--- /dev/null
+++ b/bootstrap/vagrant-minimal-onap/operator/.gitignore
@@ -0,0 +1,5 @@
+# This file is intended to store (almost) empty directory for reverse-SSHFS mount point
+# Ignore everything in this directory
+*
+# Except this file
+!.gitignore