FIX: LXC image 99/31699/1
authorpmikus <pmikus@cisco.com>
Mon, 22 Mar 2021 13:07:24 +0000 (13:07 +0000)
committerpmikus <pmikus@cisco.com>
Mon, 22 Mar 2021 13:07:24 +0000 (13:07 +0000)
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I73f7a1095b7cee52fade8a31285e405727548394

resources/libraries/python/ContainerUtils.py

index 3d70684..f3b92a8 100644 (file)
@@ -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"