Revert "Correct rhel-common for rhel6"
This is breaking deployments that use registration. I
believe os-refresh-config scripts don't source environment.d
files, so the variable is unset there.
Given that this a blocking issue for RHEL deployments, I'm
pushing a quick revert and we can come up with a proper fix
when this isn't stopping other work.
This reverts commit 71bd8b3a33
.
Change-Id: I87504660352220d45f5445bb933edc1c28885fcb
This commit is contained in:
parent
71bd8b3a33
commit
a342036e75
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -1,2 +1 @@
|
||||
export DISTRO_NAME=rhel
|
||||
export RHEL_MAJ_VER=6
|
||||
|
@ -1,2 +1 @@
|
||||
export DISTRO_NAME=rhel7
|
||||
export RHEL_MAJ_VER=7
|
||||
|
Loading…
Reference in New Issue
Block a user