aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2019-01-17 05:03:50 -0800
committerVictor Morales <victor.morales@intel.com>2019-01-17 05:03:50 -0800
commitf144563cb0b7c1709602086a4ef9fcf6981a2e9f (patch)
tree2ee232d0eefd727fde178164aeba06b3ca198575 /lib
parent76e856209a5389cc12d6b063ed29f46664387d96 (diff)
Deprecate trusty support
Trusty libvirt boxes have issues to setup the IP address during the provisioning process. This change deprecates the usage of Vagrant Trusty boxes in favor to Xenail. Change-Id: I74c0e77c9812c31ff7504c16f8538f9293b7f3f6 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-478
Diffstat (limited to 'lib')
-rwxr-xr-xlib/_installers16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/_installers b/lib/_installers
index 939349a..d10ee7a 100755
--- a/lib/_installers
+++ b/lib/_installers
@@ -49,23 +49,11 @@ function install_java {
# install_maven() - Install maven binaries
function install_maven {
- if is_package_installed maven3; then
+ if is_package_installed maven; then
return
fi
install_java
- source /etc/os-release || source /usr/lib/os-release
- case ${ID,,} in
- *suse)
- ;;
- ubuntu|debian)
- install_package software-properties-common
- add-apt-repository -y ppa:andrei-pozolotin/maven3
- ;;
- rhel|centos|fedora)
- ;;
- esac
- update_repos
- install_package maven3
+ install_package maven
# Remove Java 7
uninstall_package openjdk-7-jdk