aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-04-12 15:34:24 +0530
committerSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-04-12 17:01:42 +0530
commit11c6457164f2c07ab01fddf1c493694301457e8f (patch)
tree18c12e7ceac60ff85a21312f739ca54cd08b98f7
parente2b250f7c3cd008bcbd31d246c5dd71db3aa7de4 (diff)
downloadkolla-11c6457164f2c07ab01fddf1c493694301457e8f.tar.gz
kolla-11c6457164f2c07ab01fddf1c493694301457e8f.zip
Add missing base os values to kolla-build.conf
Added centos, ubuntu, oraclelinux. Not added other base distros are not well maintained currently. Change-Id: Icb1c12dde2ff005068f1b0f36693049f9ea30f52 Closes-Bug:#1569265
-rw-r--r--kolla/common/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index b9ab56b3e..1d7fb88d4 100644
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -18,6 +18,7 @@ from oslo_config import types
from kolla.version import version_info as version
+BASE_OS_DISTRO = ['centos', 'ubuntu', 'oraclelinux']
RDO_MIRROR = "http://trunk.rdoproject.org/centos7"
DELOREAN = "{}/current-passed-ci/delorean.repo".format(RDO_MIRROR)
DELOREAN_DEPS = "{}/delorean-deps.repo".format(RDO_MIRROR)
@@ -57,6 +58,7 @@ _PROFILE_OPTS = [
_CLI_OPTS = [
cfg.StrOpt('base', short='b', default='centos',
+ choices=BASE_OS_DISTRO,
deprecated_group='kolla-build',
help='The base distro to use when building'),
cfg.StrOpt('base-tag', default='latest',