diff options
author | Christian Trautman <ctrautma@redhat.com> | 2018-03-26 08:41:54 -0400 |
---|---|---|
committer | Christian Trautman <ctrautma@redhat.com> | 2018-03-26 08:41:54 -0400 |
commit | 3c2794471edd1a931dfdac31a32a4087d40f5289 (patch) | |
tree | 8a311b1edcf07e60f1d01cc640231f903611dbe6 /systems/rhel/7.2 | |
parent | a9655607f7618fd392cf719e8d9ea2dbf6c8dd1c (diff) |
rhel_epel_fix: Fix installation of spel for sshpass
RHEL does not have an epel-release package available from default repos.
Removes this install to use fedora epel release to allow sshpass to install
correctly.
Change-Id: Ie313857420cb4eb2342128b5d11e769670ae70a0
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'systems/rhel/7.2')
-rwxr-xr-x | systems/rhel/7.2/build_base_machine.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/systems/rhel/7.2/build_base_machine.sh b/systems/rhel/7.2/build_base_machine.sh index d3f74726..198f39d7 100755 --- a/systems/rhel/7.2/build_base_machine.sh +++ b/systems/rhel/7.2/build_base_machine.sh @@ -53,7 +53,6 @@ pkglist=( numactl\ numactl-devel\ libpng-devel\ - epel-release\ sshpass\ ) @@ -63,6 +62,9 @@ pkglist=( python-six\ ) +# install RHEL compatible epel for sshpass +yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm + # Iterate installing each package. If packages fail to install, record those # packages and exit with an error message on completion. Customer may need to # add repo locations and subscription levels. |