aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-03-22 13:07:24 +0000
committerPeter Mikus <pmikus@cisco.com>2021-03-22 14:08:03 +0000
commit4bfe3a1631546d1cf98f44162d73b184fe92c37c (patch)
tree9382a5b756868202adca0688be4cb3b500d032c9 /resources
parent23b2d1a5e9e5baab4c4537834570dd6d92a2ed98 (diff)
FIX: LXC image
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I73f7a1095b7cee52fade8a31285e405727548394 (cherry picked from commit adf5f13886e8bdd4fb224f12f10d731cadf698f3) (cherry picked from commit 0488e8a439f13bb2ceee4d1c761f6bf25aeeec45)
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/ContainerUtils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py
index 3d70684695..f3b92a8b1f 100644
--- a/resources/libraries/python/ContainerUtils.py
+++ b/resources/libraries/python/ContainerUtils.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2020 Cisco and/or its affiliates.
+# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -853,7 +853,7 @@ class LXC(ContainerEngine):
else u"amd64"
image = self.container.image if self.container.image \
- else f"-d ubuntu -r bionic -a {target_arch}"
+ else f"-d ubuntu -r focal -a {target_arch}"
cmd = f"lxc-create -t download --name {self.container.name} " \
f"-- {image} --no-validate"