From d3bb8ea95db40d074d3f35996fffe404fab42ba9 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Tue, 23 Jul 2024 13:26:30 +0200 Subject: fix(container): Remove obsolete LXC option CSIT-1944 Change-Id: I0f763369acc560a5ab2d9db28fc25f20b1c5ffe7 Signed-off-by: Vratko Polak --- resources/libraries/python/ContainerUtils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'resources/libraries') 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: -- cgit 1.2.3-korg