diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-01-30 09:30:53 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-01-30 09:33:26 +0000 |
commit | b6bd934e9ee0115d6cfdd7dfa59517766a9e89a6 (patch) | |
tree | 29367b189e81d11a014f491f979c0019267d0743 /resources | |
parent | d5a03fa050091f08324db17b124820169be8e393 (diff) |
FIX: Put back sleep to wait for container to boot.
Change-Id: Id63fc8670c7816cc71d8d6d8704ff7f1adf3db65
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit 509a1092965c674c581e4080e2e2dc4dec5371c7)
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/python/ContainerUtils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py index 8c299247e8..fbfb890dfe 100644 --- a/resources/libraries/python/ContainerUtils.py +++ b/resources/libraries/python/ContainerUtils.py @@ -141,7 +141,7 @@ class ContainerManager(object): self.engine.container = self.containers[container] # We need to install supervisor client/server system to control VPP # as a service - self.engine.execute('apt-get update') + self.engine.execute('sleep 3; apt-get update') self.engine.install_supervisor() self.engine.install_vpp() self.engine.restart_vpp() |