Change the default FRR docker image repository
This patch changes the default reporitory (hub.docker.com) to quay.io, in order to avoid the limitations implemented in the website, reducing the download request. The base image is the same: Ubuntu 22.04 NOTE: it could be possible that quay.io implements the same limitations. Closes-Bug: #2089140 Change-Id: If2aa7a58de35f14066d3e95058407af343b97f44
This commit is contained in:
parent
e52927e767
commit
a0593c77f8
@ -38,6 +38,7 @@ from tempest.lib import exceptions as lib_exc
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = log.getLogger(__name__)
|
||||
FRR_BASE_IMAGE = 'quay.io/nf-core/ubuntu:22.04'
|
||||
|
||||
|
||||
class FRROCIImage(ctn_base.DockerImage):
|
||||
@ -47,7 +48,7 @@ class FRROCIImage(ctn_base.DockerImage):
|
||||
baseimage: typing.Optional[str] = None,
|
||||
use_existing: bool = False,
|
||||
):
|
||||
super().__init__(baseimage=baseimage or 'ubuntu:22.04')
|
||||
super().__init__(baseimage=baseimage or FRR_BASE_IMAGE)
|
||||
self.daemons = daemons
|
||||
self.tagname = 'frr-' + '-'.join(daemons)
|
||||
if use_existing and self.exist(self.tagname):
|
||||
|
Loading…
Reference in New Issue
Block a user