From 81184fdb8f4ec8668bd7b0c8a703891d95095192 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 3 Aug 2018 14:27:55 +0000 Subject: CSIT-1156 Create container memif tests for 2-node topology CSIT-1155 Implement container memif KWs for 2-node topology Change-Id: I4fc7bcab499a0b8a8594114d3f331b0d9610bf9d Signed-off-by: Peter Mikus --- resources/libraries/python/ContainerUtils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'resources/libraries/python/ContainerUtils.py') diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py index eadc0a8a5a..54bbdbbc04 100644 --- a/resources/libraries/python/ContainerUtils.py +++ b/resources/libraries/python/ContainerUtils.py @@ -689,7 +689,10 @@ class Docker(ContainerEngine): else: return - cmd = 'docker pull {c.image}'.format(c=self.container) + image = self.container.image if self.container.image else\ + "ubuntu:xenial-20180412" + + cmd = 'docker pull {image}'.format(image=image) ret, _, _ = self.container.ssh.exec_command_sudo(cmd, timeout=1800) if int(ret) != 0: -- cgit 1.2.3-korg