From 879b446398bce74ffcf156cb787f0124d35f7772 Mon Sep 17 00:00:00 2001
From: Andrew Widdersheim <amwiddersheim@gmail.com>
Date: Mon, 19 Sep 2016 11:01:43 -0400
Subject: [PATCH] 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
---
 kolla/common/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kolla/common/config.py b/kolla/common/config.py
index c6c90e1dda..ab3e7d78c1 100644
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -18,10 +18,10 @@ from oslo_config import types
 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 = {
     'centos': '7',
-    'redhat': '7',
+    'rhel': '7',
     'oraclelinux': '7',
     'debian': '8',
     'ubuntu': '16.04',