aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/LXCUtils.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-08-28 11:52:12 +0000
committerPeter Mikus <pmikus@cisco.com>2017-08-28 11:52:48 +0000
commitb9ce06b180903e794a806e6eda7a1b076dc9cc8f (patch)
tree6a1d03d26a999f9e33170d01579300f5987b83fd /resources/libraries/python/LXCUtils.py
parentf27912e060936e7389e2f14062b1b80e3eaa8f8f (diff)
Fix: Do not validate LXC image
Change-Id: I476f463ad7dd91f1d80a1e4b537a2cb3dd4ddee5 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/LXCUtils.py')
-rw-r--r--resources/libraries/python/LXCUtils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/libraries/python/LXCUtils.py b/resources/libraries/python/LXCUtils.py
index 9f42540986..57ced6b549 100644
--- a/resources/libraries/python/LXCUtils.py
+++ b/resources/libraries/python/LXCUtils.py
@@ -102,8 +102,9 @@ class LXCUtils(object):
ssh.connect(self._node)
ret, _, _ = ssh.exec_command_sudo(
- 'lxc-create -t download --name {0} -- -d {1} -r {2} -a {3}'
- .format(self._container_name, distro, release, arch), timeout=1800)
+ 'lxc-create -t download --name {0} -- -d {1} -r {2} -a {3}'\
+ ' --no-validate'.format(self._container_name, distro, release,
+ arch), timeout=1800)
if int(ret) != 0:
raise RuntimeError('Failed to create LXC container.')