Merge "Revert "Correct rhel-common for rhel6""

This commit is contained in:
Jenkins 2016-02-22 16:57:40 +00:00 committed by Gerrit Code Review
commit cebdba1f9c
4 changed files with 4 additions and 6 deletions

View File

@ -31,8 +31,8 @@ REG_METHOD="$(os-apply-config --key rh_registration.method --type raw --key-defa
opts=
attach_opts=
repos="repos --enable rhel-${RHEL_MAJ_VER}-server-rpms"
satellite_repo="rhel-${RHEL_MAJ_VER}-server-rh-common-rpms"
repos="repos --enable rhel-7-server-rpms"
satellite_repo="rhel-7-server-rh-common-rpms"
if [ -n "${REG_AUTO_ATTACH:-}" ]; then
opts="$opts --auto-attach"

View File

@ -9,8 +9,8 @@ set -o pipefail
opts=
attach_opts=
repos="repos --enable rhel-${RHEL_MAJ_VER}-server-rpms"
satellite_repo="rhel-${RHEL_MAJ_VER}-server-rh-common-rpms"
repos="repos --enable rhel-7-server-rpms"
satellite_repo="rhel-7-server-rh-common-rpms"
if [ -n "${REG_AUTO_ATTACH:-}" ]; then
opts="$opts --auto-attach"

View File

@ -1,2 +1 @@
export DISTRO_NAME=rhel
export RHEL_MAJ_VER=6

View File

@ -1,2 +1 @@
export DISTRO_NAME=rhel7
export RHEL_MAJ_VER=7