Fix Vagrantfile for lib/lf-networking 03/28703/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 22 Oct 2015 15:10:58 +0000 (08:10 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 22 Oct 2015 15:10:58 +0000 (08:10 -0700)
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 <agrimberg@linuxfoundation.org>
vagrant/lib/lf-networking/Vagrantfile

index 41970217ba8f97cb9b1c200ea634d8548e4f0bc1..a162628e55f9c5a5c2dba2e9685b6808a3ee5c79 100644 (file)
@@ -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