From 5be79b4a0bd1b1face1ef915b1f1539162fdd2b8 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Sat, 17 Feb 2018 03:52:57 -0500 Subject: Improve setup_libvirt.sh script The scope of the setup_libvirt.sh script was limited to cover only the installation of libvirt dependencies, this change pretends to cover the installation of vagrant and virtualbox and/or libvirt for different distros. Change-Id: I1ffd4478046cb64ad164f88d9bab078f246f0677 Signed-off-by: Victor Morales Issue-ID: INT-370 --- bootstrap/vagrant-onap/tools/setup_libvirt.sh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 bootstrap/vagrant-onap/tools/setup_libvirt.sh (limited to 'bootstrap/vagrant-onap/tools/setup_libvirt.sh') diff --git a/bootstrap/vagrant-onap/tools/setup_libvirt.sh b/bootstrap/vagrant-onap/tools/setup_libvirt.sh deleted file mode 100755 index 54003d691..000000000 --- a/bootstrap/vagrant-onap/tools/setup_libvirt.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -export VAGRANT_DEFAULT_PROVIDER=libvirt - -source /etc/os-release || source /usr/lib/os-release -case ${ID,,} in - *suse) - ;; - ubuntu|debian) - # vagrant-libvirt dependencies - sudo apt-get install -y qemu libvirt-bin ebtables dnsmasq libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev - - # NFS - sudo apt-get install -y nfs-kernel-server - ;; - rhel|centos|fedora) - PKG_MANAGER=$(which dnf || which yum) - sudo $PKG_MANAGER install -y qemu libvirt libvirt-devel ruby-devel gcc qemu-kvm - ;; -esac -vagrant plugin install vagrant-libvirt -- cgit 1.2.3-korg