Fix using rhel as a base build image

Using rhel as a base build image is not a supported option. This seems
to have gotten lost during some code rearchitecture. Also, rename from
redhat to rhel to match the references in the documentation.

Closes-bug: #1625229

Change-Id: If950b20717205dd0e336e6171971e25a9d07df13
This commit is contained in:
Andrew Widdersheim 2016-09-19 11:01:43 -04:00
parent fc97971f40
commit 879b446398

View File

@ -18,10 +18,10 @@ from oslo_config import types
from kolla.version import version_info as version from kolla.version import version_info as version
BASE_OS_DISTRO = ['centos', 'ubuntu', 'oraclelinux', 'debian'] BASE_OS_DISTRO = ['centos', 'rhel', 'ubuntu', 'oraclelinux', 'debian']
DISTRO_RELEASE = { DISTRO_RELEASE = {
'centos': '7', 'centos': '7',
'redhat': '7', 'rhel': '7',
'oraclelinux': '7', 'oraclelinux': '7',
'debian': '8', 'debian': '8',
'ubuntu': '16.04', 'ubuntu': '16.04',