Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
421111d
)
fix(container): Remove obsolete LXC option
90/41290/2
author
Vratko Polak
<
[email protected]
>
Tue, 23 Jul 2024 11:26:30 +0000
(13:26 +0200)
committer
Vratko Polak
<
[email protected]
>
Fri, 26 Jul 2024 08:53:12 +0000
(08:53 +0000)
CSIT-1944
Change-Id: I0f763369acc560a5ab2d9db28fc25f20b1c5ffe7
Signed-off-by: Vratko Polak <
[email protected]
>
resources/libraries/python/ContainerUtils.py
patch
|
blob
|
history
diff --git
a/resources/libraries/python/ContainerUtils.py
b/resources/libraries/python/ContainerUtils.py
index
ef08317
..
7d6d4d8
100644
(file)
--- 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: