From 205917099b78755bcbe627292b347dee04427f6d Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Jul 12 2011 07:23:04 +0000 Subject: Fixed the way we disabled 'normal' CentOS repositories to use QA repo (CentOS-Base.repo is tested too later) --- diff --git a/tests/0_common/00_qa_repo_config.sh b/tests/0_common/00_qa_repo_config.sh index 3cce760..4b51a31 100755 --- a/tests/0_common/00_qa_repo_config.sh +++ b/tests/0_common/00_qa_repo_config.sh @@ -3,7 +3,8 @@ t_Log "Running $0 - modifying yum repositories for QA purposes." # Disable the normal repositories and points to the QA repo -mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.disabled +#mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.disabled +sed -i s#gpgcheck=1#gpgcheck=1\\nenabled=0#g /etc/yum.repos.d/CentOS-Base.repo cat << EOF > /etc/yum.repos.d/CentOS-QA.repo