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:09 +0000 |
commit | 509a1092965c674c581e4080e2e2dc4dec5371c7 (patch) | |
tree | cbaa571747faf848ee2bebdb9bf107e249b23f5b /resources/libraries/python/ContainerUtils.py | |
parent | 644d2d68041079d604c5055e41da78150ea04e89 (diff) |
FIX: Put back sleep to wait for container to boot.
Change-Id: Id63fc8670c7816cc71d8d6d8704ff7f1adf3db65
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/ContainerUtils.py')
-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() |