From: Victor Morales Date: Mon, 29 Jan 2018 18:49:25 +0000 (-0800) Subject: Enable deltarpm X-Git-Tag: 6.0.0~171^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=79dee89adced2ca6bdf10225b36ff90743f1e60d;p=releng-xci.git Enable deltarpm DeltaRPM allows to install only the difference between an old and new version of an RPM, as consequence this reduces the network consumption in CentOS distros. Change-Id: I317fbac44ae5fb6d5293443e755e2b7ddd08c66e Signed-off-by: Victor Morales --- diff --git a/xci/files/install-ansible.sh b/xci/files/install-ansible.sh index 979d9904..e370d14a 100644 --- a/xci/files/install-ansible.sh +++ b/xci/files/install-ansible.sh @@ -88,8 +88,8 @@ case ${ID,,} in [venv]=python-virtualenv [wget]=wget ) - sudo yum updateinfo - EXTRA_PKG_DEPS=() + sudo $PKG_MANAGER updateinfo + EXTRA_PKG_DEPS=( deltarpm ) ;; *) echo "ERROR: Supported package manager not found. Supported: apt, dnf, yum, zypper"; exit 1;;