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
This commit is contained in:
parent
a22b7714e3
commit
e2fa75fce6
@ -343,6 +343,11 @@ class KollaWorker(object):
|
|||||||
self.namespace = conf.namespace
|
self.namespace = conf.namespace
|
||||||
self.base = conf.base
|
self.base = conf.base
|
||||||
self.base_tag = conf.base_tag
|
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.install_type = conf.install_type
|
||||||
self.tag = conf.tag
|
self.tag = conf.tag
|
||||||
self.images = list()
|
self.images = list()
|
||||||
|
Loading…
Reference in New Issue
Block a user