aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/functions
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-11-07 14:13:07 -0800
committerVictor Morales <victor.morales@intel.com>2017-11-07 14:13:07 -0800
commit071b81cf985c482bb0a38ca1c96491feefd1ec13 (patch)
tree11072bd3672e99577902e1cf76d2dd80d0637e73 /bootstrap/vagrant-onap/lib/functions
parent9174eadc3cadf827669fc0999304b0221ff2349c (diff)
Integrate install_dev_tools into install_docker
The packages installed by the install_dev_tools are only required by the docker installation, therefore is not necessary to install them in other cases. According to the Docker official documentation the linux-image-extra-* packages are required. Change-Id: I96c5f556c9e5a74d52e012d7896786061299036e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-328
Diffstat (limited to 'bootstrap/vagrant-onap/lib/functions')
-rwxr-xr-xbootstrap/vagrant-onap/lib/functions7
1 files changed, 1 insertions, 6 deletions
diff --git a/bootstrap/vagrant-onap/lib/functions b/bootstrap/vagrant-onap/lib/functions
index ce95ea010..cc9052304 100755
--- a/bootstrap/vagrant-onap/lib/functions
+++ b/bootstrap/vagrant-onap/lib/functions
@@ -58,11 +58,6 @@ function clone_repo {
fi
}
-# install_dev_tools() - Install basic dependencies
-function install_dev_tools {
- install_packages apt-transport-https ca-certificates curl
-}
-
# _install_bind() - Install bind utils
function _install_bind {
install_packages bind9 bind9utils
@@ -193,7 +188,7 @@ function install_docker {
*suse)
;;
ubuntu|debian)
- install_package software-properties-common
+ install_packages software-properties-common linux-image-extra-$(uname -r) linux-image-extra-virtual apt-transport-https ca-certificates curl
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \