Install yum-utils in instack-setup-host

yum-utils is needed to run yum-config-manager.

Change-Id: I10182b88ec1b28d49a59a4545ced5c9969ca0fed
This commit is contained in:
Ana Krivokapic 2015-03-18 16:57:34 +01:00
parent 45e3d84cd4
commit 62307b3589
2 changed files with 1 additions and 4 deletions

View File

@ -10,10 +10,6 @@ use the stack user.
For a baremetal setup this will be the host you selected for the Undercloud
while preparing the environment.
#. Install yum-utils (required by the instack-setup-host script)::
sudo yum install -y yum-utils
#. Download and execute the instack-undercloud setup script::
curl https://raw.githubusercontent.com/rdo-management/instack-undercloud/master/scripts/instack-setup-host | bash -x

View File

@ -34,6 +34,7 @@ if $(grep -Eqs 'Red Hat Enterprise Linux Server' /etc/redhat-release); then
sudo rhos-release 6
fi
# We need openwsman-python from the optional repo
sudo yum install -y yum-utils
sudo yum-config-manager --enable rhelosp-rhel-7-server-opt
fi