1
0
mirror of https://github.com/lxc/python3-lxc.git synced 2026-02-05 09:48:21 +01:00
Austin Rhodes fd8f7d1ff0 Update configuration for examples/api_test.py
This example script is guaranteed to fail on modern Ubuntu releases due to outdated configuration. These changes allow the script to pass:

- Fixes container.create arguments to request Noble image instead of Xenial, as Xenial images are no longer available

- Changes cgroups key strings to use cgroups v2 nomenclature ('max' instead of 'limit_in_bytes', 'peak' instead of 'max_usage_in_bytes')

Signed-off-by: Austin Rhodes <austin.rhodes@canonical.com>
2025-12-09 18:17:26 -05:00
2018-02-28 17:31:50 -05:00
2018-02-14 18:34:35 +01:00
2018-03-26 23:54:03 -04:00
2018-04-05 10:43:19 +02:00
2018-02-14 18:34:35 +01:00
2023-01-24 23:34:00 -05:00

python3-lxc

This repository provides python3 bindings for the LXC container API.

Build

  • Build:
    python3 setup.py build
    
  • Install:
    python3 setup.py install
    
  • Build rpm:
    python3 setup.py bdist_rpm
    
Description
Languages
C 74.5%
Python 25.5%