From 71f7d2928660c77de3924429d8aa513dd7273c39 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 4 Jan 2018 16:27:07 -0800 Subject: Fix multicloud build image process The multicloud script was using old variables and scripts which haven't merged yet. So this commit commented out those invalid instructions and rename old variables. Change-Id: I5566b2fb773f7d7c92493162b0d9e10945382280 Signed-off-by: Victor Morales o Issue-ID: MULTICLOUD-53 --- bootstrap/vagrant-onap/Vagrantfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bootstrap/vagrant-onap/Vagrantfile') diff --git a/bootstrap/vagrant-onap/Vagrantfile b/bootstrap/vagrant-onap/Vagrantfile index 01c6afd40..31a9970a5 100644 --- a/bootstrap/vagrant-onap/Vagrantfile +++ b/bootstrap/vagrant-onap/Vagrantfile @@ -140,6 +140,9 @@ nodes = [ :ram => 4 * 1024, :groups => ["individual"], :args => ["multicloud"], + :fwds => [ + { :guest => 9003, :host => 9003, :guest_ip => '192.168.50.16' }, + ] }, { :name => "oom", @@ -358,11 +361,13 @@ Vagrant.configure("2") do |config| config.vbguest.auto_update = false end + sync_type = "virtualbox" if provider == :libvirt if not Vagrant.has_plugin?('vagrant-libvirt') system 'vagrant plugin install vagrant-libvirt' raise 'vagrant-libvirt was installed but it requires to execute again' end + sync_type = "nfs" end if provider == :openstack @@ -478,8 +483,8 @@ Vagrant.configure("2") do |config| # Set Sync Folder nodeconfig.vm.synced_folder ".", "/vagrant", disabled: true - nodeconfig.vm.synced_folder './opt', '/opt/', create: true, type: "nfs" - nodeconfig.vm.synced_folder './lib', '/var/onap/', create: true, type: "nfs" + nodeconfig.vm.synced_folder './opt', '/opt/', create: true, type: sync_type + nodeconfig.vm.synced_folder './lib', '/var/onap/', create: true, type: sync_type if !is_windows nodeconfig.vm.synced_folder '~/.m2', '/root/.m2/', create: true end -- cgit 1.2.3-korg