aboutsummaryrefslogtreecommitdiffstats
path: root/kud/hosting_providers/containerized/installer.sh
diff options
context:
space:
mode:
authorRitu Sood <Ritu.Sood@intel.com>2020-06-17 05:06:40 +0000
committerGerrit Code Review <gerrit@onap.org>2020-06-17 05:06:40 +0000
commit7b860ae60bf9686b449ab2fe3f18c33944bdd71c (patch)
treec9efb7bf377a2f33ae64299c98d3161aec5d6f4c /kud/hosting_providers/containerized/installer.sh
parent964db6a95cfdd82969f6af5a09822929a1862408 (diff)
parent662f53dd795fbc439b923e09cbf088f613d01003 (diff)
Merge "optimize size and time using "--no-cache-dir""
Diffstat (limited to 'kud/hosting_providers/containerized/installer.sh')
-rwxr-xr-xkud/hosting_providers/containerized/installer.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kud/hosting_providers/containerized/installer.sh b/kud/hosting_providers/containerized/installer.sh
index fe9d1e9d..5e46d967 100755
--- a/kud/hosting_providers/containerized/installer.sh
+++ b/kud/hosting_providers/containerized/installer.sh
@@ -33,7 +33,7 @@ function _install_ansible {
local version=$(grep "ansible_version" ${kud_playbooks}/kud-vars.yml |
awk -F ': ' '{print $2}')
mkdir -p /etc/ansible/
- pip install ansible==$version
+ pip install --no-cache-dir ansible==$version
}
# install_k8s() - Install Kubernetes using kubespray tool
@@ -56,7 +56,7 @@ function install_kubespray {
rm $tarball
pushd $dest_folder/kubespray-$version/
- pip install -r ./requirements.txt
+ pip install --no-cache-dir -r ./requirements.txt
make mitogen
popd
rm -f $kud_inventory_folder/group_vars/all.yml 2> /dev/null