[lxc-devel] [lxc/master] python3-lxc: fix api_test.py on s390x

Cypresslin on Github lxc-bot at linuxcontainers.org
Wed Jan 4 11:24:56 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 496 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170104/8295c969/attachment.bin>
-------------- next part --------------
From e170106812aaf26c00c08acfd4ff7ea88d5b750c Mon Sep 17 00:00:00 2001
From: Po-Hsu Lin <po-hsu.lin at canonical.com>
Date: Wed, 4 Jan 2017 19:23:04 +0800
Subject: [PATCH] python3-lxc: fix api_test.py on s390x

The api_test.py script uses Trusty release by default, which does not
have s390x image. Switch to Xenial to solve this.

Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>
---
 src/python-lxc/examples/api_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/python-lxc/examples/api_test.py b/src/python-lxc/examples/api_test.py
index b8b5ee6..cd7ea77 100755
--- a/src/python-lxc/examples/api_test.py
+++ b/src/python-lxc/examples/api_test.py
@@ -66,7 +66,7 @@
 print("Creating rootfs using 'download', arch=%s" % arch)
 container.create("download", 0,
                  {"dist": "ubuntu",
-                  "release": "trusty",
+                  "release": "xenial",
                   "arch": arch})
 
 assert(container.defined)


More information about the lxc-devel mailing list