From c4b1803b664d0f903ab90124f7d157a1a0ec6d27 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Thu, 22 Oct 2015 08:10:58 -0700 Subject: [PATCH] Fix Vagrantfile for lib/lf-networking Fixup the Vagrantfile for lib/lf-networking so that LF network configuration can still be layered on after the fact. This is primarily needed for use as a secondary overlay for baseline images since they don't do the lf-networking overlays themselves. Change-Id: I590635009375b6818b466c54978bf57848691195 Signed-off-by: Andrew Grimberg --- vagrant/lib/lf-networking/Vagrantfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vagrant/lib/lf-networking/Vagrantfile b/vagrant/lib/lf-networking/Vagrantfile index 41970217b..a162628e5 100644 --- a/vagrant/lib/lf-networking/Vagrantfile +++ b/vagrant/lib/lf-networking/Vagrantfile @@ -26,9 +26,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end end + # explicitly configure shared folder syncs + config.vm.synced_folder '.', '/vagrant', :disabled => true + config.vm.synced_folder '..', '/vagrant/lib' + # reconfigure the network setup to support our special private setup config.vm.provision 'shell', path: 'configure_lf_infra.sh', args: ENV['RSSUBDOMAIN'] # reseal the system for imaging - config.vm.provision 'shell', path: 'system_reseal.sh' + config.vm.provision 'shell', path: '../system_reseal.sh' end -- 2.36.6