Fix yum update repos 61/46361/1
authorVictor Morales <victor.morales@intel.com>
Sat, 28 Oct 2017 02:47:44 +0000 (19:47 -0700)
committerVictor Morales <victor.morales@intel.com>
Sat, 28 Oct 2017 03:06:57 +0000 (20:06 -0700)
The *yum update* fails during the installation of ansible in centos
because it tries to update openssh-server among other packages.
This commit change fixes the command to only update the repository
information. The --assumeno argument is not required.

Change-Id: I26870462888742b3200097322d5316ac00febfc5

xci/file/install-ansible.sh

index bc7bd1e..2661eea 100644 (file)
@@ -79,7 +79,7 @@ case ${ID,,} in
         [wget]=wget
         [openssl]=openssl
     )
-    sudo yum update --assumeno
+    sudo yum updateinfo
     EXTRA_PKG_DEPS=()
    ;;