aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tools/setup_libvirt.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-02-17 03:52:57 -0500
committerVictor Morales <victor.morales@intel.com>2018-02-17 03:52:57 -0500
commit5be79b4a0bd1b1face1ef915b1f1539162fdd2b8 (patch)
treeb522c161bdc090ae64ad42b6260609b6a4701327 /bootstrap/vagrant-onap/tools/setup_libvirt.sh
parent139e934f1d744834b3a71ae1294f8fbe1cb8fd67 (diff)
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 <victor.morales@intel.com> Issue-ID: INT-370
Diffstat (limited to 'bootstrap/vagrant-onap/tools/setup_libvirt.sh')
-rwxr-xr-xbootstrap/vagrant-onap/tools/setup_libvirt.sh21
1 files changed, 0 insertions, 21 deletions
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