Change-Id: I476f463ad7dd91f1d80a1e4b537a2cb3dd4ddee5
Signed-off-by: Peter Mikus <pmikus@cisco.com>
ssh.connect(self._node)
ret, _, _ = ssh.exec_command_sudo(
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.')
if int(ret) != 0:
raise RuntimeError('Failed to create LXC container.')