diskimage-builder/elements/rhel7/environment.d/10-rhel7-distro-name.bash
Abel Lopez 71bd8b3a33 Correct rhel-common for rhel6
Hardcoding subscription-manager to use rhel-7-server-rpms causes
users building rhel6 with Satellite6 to fail. This setting cannot
be overridden with environment variables, therefore needs to be
smarter. Setting RHEL_MAJ_VER in the rhel/rhel7 environment fixes.

Change-Id: Ifbd88bc76ef8b38a739272ba6e045a12849d68df
Closes-Bug: 1404364
2016-01-11 12:03:45 -08:00

2 lines
47 B
Bash

export DISTRO_NAME=rhel7
export RHEL_MAJ_VER=7