X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FLXCUtils.py;h=57ced6b549e52f0dc8c5dfb2a827ffe83d144547;hp=9f4254098653aff198e8b1e76e02c28b5bda27ca;hb=b9ce06b180903e794a806e6eda7a1b076dc9cc8f;hpb=f27912e060936e7389e2f14062b1b80e3eaa8f8f 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.')