X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=vagrant%2Fovsdb-devstack%2FVagrantfile;h=56bfdf6d68efe68ebf72f66904b930996d24fd1c;hb=ea54bf6d5b399935e77e72a1ea65fc31cb75d618;hp=790e7ce85b4d3a943f07a9b94f47432fb012835c;hpb=b43fc3c13006bafc5ae47df79abcebd61b368bc5;p=releng%2Fbuilder.git diff --git a/vagrant/ovsdb-devstack/Vagrantfile b/vagrant/ovsdb-devstack/Vagrantfile index 790e7ce85..56bfdf6d6 100644 --- a/vagrant/ovsdb-devstack/Vagrantfile +++ b/vagrant/ovsdb-devstack/Vagrantfile @@ -50,13 +50,33 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end end + # Explicitlly set default shared folder and load lib folder + config.vm.synced_folder ".", "/vagrant" + config.vm.synced_folder "../lib/", "/vagrant/lib" + # run our bootstrapping for the ovsdb-devstack system config.vm.provision 'shell', path: 'bootstrap.sh' + + ################# + # LF NETWORKING # + ################# + + if ENV['LFNETWORK'] + # reconfigure the network setup to support our special private setup + config.vm.provision 'shell', path: '../lib/lf-networking/configure_lf_infra.sh', + args: ENV['RSSUBDOMAIN'] + end + + + ################# + # FINAL CLEANUP # + ################# + # set RSRESEAL to... anything if you want to snap an image of this box # not setting the environment variable will cause the system to come # up fully and not be in a resealable state if ENV['RSRESEAL'] - config.vm.provision 'shell', path: 'system_reseal.sh' + config.vm.provision 'shell', path: '../lib/system_reseal.sh' end end