From f62e7b8ea7f447129221f3fceb73f7af63db2c74 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 27 Jul 2017 17:26:06 -0500 Subject: Creates vagrant-libvirt plugin validation The vagrant-libvirt plugin was not validated its installation when the user uses this provider. This change pretends to helps the installation process to the end user. Change-Id: I1b040ec72ed2663c3f968baa68b141e31ee6d6c7 Signed-off-by: Victor Morales --- bootstrap/vagrant-onap/Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap/vagrant-onap/Vagrantfile b/bootstrap/vagrant-onap/Vagrantfile index a46afd5fe..f89c2dc47 100644 --- a/bootstrap/vagrant-onap/Vagrantfile +++ b/bootstrap/vagrant-onap/Vagrantfile @@ -83,6 +83,10 @@ Vagrant.configure("2") do |config| config.vm.box = 'ubuntu/trusty64' if provider == :libvirt config.vm.box = 'sputnik13/trusty64' + 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 end if provider == :openstack config.vm.box = nil -- cgit 1.2.3-korg