aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-07-27 22:32:10 +0000
committerGerrit Code Review <gerrit@onap.org>2017-07-27 22:32:10 +0000
commit14387356f435a416f1f180d0d670d5760888c6b3 (patch)
tree879fa933430fc2e07d830270a70d72e64463c914
parent8936d9423031c78c35be17816de65e7578edaeeb (diff)
parentf62e7b8ea7f447129221f3fceb73f7af63db2c74 (diff)
Merge "Creates vagrant-libvirt plugin validation"
-rw-r--r--bootstrap/vagrant-onap/Vagrantfile4
1 files changed, 4 insertions, 0 deletions
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