From: Vratko Polak Date: Tue, 23 Jul 2024 11:26:30 +0000 (+0200) Subject: fix(container): Remove obsolete LXC option X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=d3bb8ea95db40d074d3f35996fffe404fab42ba9;p=csit.git fix(container): Remove obsolete LXC option CSIT-1944 Change-Id: I0f763369acc560a5ab2d9db28fc25f20b1c5ffe7 Signed-off-by: Vratko Polak --- diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py index ef08317420..7d6d4d8673 100644 --- a/resources/libraries/python/ContainerUtils.py +++ b/resources/libraries/python/ContainerUtils.py @@ -939,8 +939,7 @@ class LXC(ContainerEngine): image = self.container.image if self.container.image \ else f"-d ubuntu -r jammy -a {target_arch}" - cmd = f"lxc-create -t download --name {self.container.name} " \ - f"-- {image} --no-validate" + cmd = f"lxc-create -t download --name {self.container.name} -- {image}" ret, _, _ = self.container.ssh.exec_command_sudo(cmd, timeout=1800) if int(ret) != 0: