Override default latest tag on ubuntu
After 16.04 got released we can't build our images as we pull latest
(16.04 now) and our sources lists are built for 14.04. We pin ubuntu to
14.04 here.
Change-Id: Ib29a1c607c3a725cdaf2098edd1c4b80f06a5e38
Closes-Bug: #1575884
(cherry picked from commit e2fa75fce6
)
This commit is contained in:
parent
b63771f1c8
commit
d01ea386be
@ -343,6 +343,11 @@ class KollaWorker(object):
|
||||
self.namespace = conf.namespace
|
||||
self.base = conf.base
|
||||
self.base_tag = conf.base_tag
|
||||
if self.base == 'ubuntu' and self.base_tag == 'latest':
|
||||
self.base_tag = '14.04'
|
||||
# TODO(inc0): This will override default latest, which is xenial
|
||||
# if someone actually set up latest in their conf, it will be
|
||||
# overriden as well
|
||||
self.install_type = conf.install_type
|
||||
self.tag = conf.tag
|
||||
self.images = list()
|
||||
|
Loading…
Reference in New Issue
Block a user