From af6ca3083bdba12dd7c71e0036815da1d1892bac Mon Sep 17 00:00:00 2001 From: robin2008 Date: Mon, 3 Sep 2018 16:22:29 +0800 Subject: [PATCH] Add EPEL repo for installing docker-ce in testcase --- xCAT-test/autotest/testcase/performance/simulatorctl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-test/autotest/testcase/performance/simulatorctl.sh b/xCAT-test/autotest/testcase/performance/simulatorctl.sh index de9647b33..0eb6a9828 100644 --- a/xCAT-test/autotest/testcase/performance/simulatorctl.sh +++ b/xCAT-test/autotest/testcase/performance/simulatorctl.sh @@ -31,6 +31,7 @@ OPENBMC_SIMULATOR_URL='https://github.com/xuweibj/openbmc_simulator' PERF_SIM_TESTING_CWD='/tmp/perf' PERF_SIM_RESULT_DIR='/opt/xcat/share/xcat/tools/autotest/result' PERF_SIM_CASE_DIR='/opt/xcat/share/xcat/tools/autotest/testcase/performance' +EPEL_RH7_REPO_PKG='https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm' arch=`arch` driver="$2" @@ -48,6 +49,7 @@ setup_docker() return fi + yum install -y $EPEL_RH7_REPO_PKG if [[ $arch =~ 'ppc64' ]]; then # The URL is from OpenPOWER Linux Community echo "[docker] name=Docker baseurl=$OPEN_POWER_TOOLS_URL enabled=1 gpgcheck=0" | \