]> git.proxmox.com Git - mirror_lxc.git/commitdiff
python3-lxc: fix api_test.py on s390x
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Wed, 4 Jan 2017 11:23:04 +0000 (19:23 +0800)
committerPo-Hsu Lin <po-hsu.lin@canonical.com>
Wed, 4 Jan 2017 11:23:04 +0000 (19:23 +0800)
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@canonical.com>
src/python-lxc/examples/api_test.py

index b8b5ee66cfe3d890a4716f24cd7e95f3b715326d..cd7ea7788526b66cc9777321c23f0041900d80f3 100755 (executable)
@@ -66,7 +66,7 @@ except:
 print("Creating rootfs using 'download', arch=%s" % arch)
 container.create("download", 0,
                  {"dist": "ubuntu",
-                  "release": "trusty",
+                  "release": "xenial",
                   "arch": arch})
 
 assert(container.defined)