aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
diff options
context:
space:
mode:
Diffstat (limited to 'kolla/image')
-rwxr-xr-xkolla/image/build.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 7e5214ffd..e460fb006 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -699,6 +699,10 @@ class KollaWorker(object):
self.conf.distro_python_version = "2.7"
elif self.base in rh_base and self.base_tag.startswith('8'):
self.conf.distro_python_version = "3.6"
+ elif self.base in ['debian']:
+ self.conf.distro_python_version = "3.7"
+ elif self.base in ['ubuntu']:
+ self.conf.distro_python_version = "3.6"
else:
# Assume worst
self.conf.distro_python_version = "2.7"