Preload soci-mysql and soci on RHEL7 images
Change-Id: I00d78b45dffd785e956058ca7d76fb9e32bfac60
Closes-bug: #1754313
(cherry picked from commit 859baa5b0a
)
This commit is contained in:
parent
e3573b7c7a
commit
1409fb6583
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ "$DISTRO_NAME" = "rhel7" -o "$DISTRO_NAME" = "centos7" ]; then
|
||||
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
yum install -y soci soci-mysql
|
||||
yum remove -y epel-release
|
||||
fi
|
Loading…
Reference in New Issue