diff options
author | Victor Morales <victor.morales@intel.com> | 2018-01-29 10:49:25 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-01-30 21:21:26 -0500 |
commit | 79dee89adced2ca6bdf10225b36ff90743f1e60d (patch) | |
tree | bafc148b6ffeb6b43f560b0d2f3a0413de6b3693 | |
parent | f3f08ae0fd69b26cac46351599b434c3312351bd (diff) |
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 <victor.morales@intel.com>
-rw-r--r-- | xci/files/install-ansible.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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;; |