1
0
mirror of https://github.com/lxc/python2-lxc.git synced 2026-02-05 18:48:35 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Stéphane Graber
0553f05d23 Encoding fixes
Reported-by: Mehdi Laouichi <laouichi.mehdi@gmail.com>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2014-08-25 15:42:40 -04:00
Stéphane Graber
dc662b361d python3: Fix crashes in snapshot()
This makes sure all PyObject structs are always initialized to NULL,
this will fix issues such as (issue #239).

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
2014-06-10 16:18:48 -04:00
Chuck Short
b95f410611 Handle invalid global config keys
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
2014-06-10 16:14:48 -04:00
Chuck Short
227e22e876 Don't require a template name
The template name isn't required, if it's not passed, then create will
simply be asked to create a container without a rootfs.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
2014-06-10 16:14:38 -04:00
Dwight Engen
4692193f7b support building rpm with python setup.py bdist_rpm
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
2014-05-07 09:20:48 -05:00
Stéphane Graber
9541b38038 Initial release of basic python2 binding
This is the first release of a basic out of tree python2 binding. It's
not entirely in sync with the python3 (lacks arch_to_personality) but
otherwise should behave identically.

This binding is not officially supported by LXC upstream as part of
1.0.x nor do we have any plan to include it for any upcoming release. It
is just released as a convenience for those who unfortunately can't yet
use python3.

Thanks to Dwight Engen for the original patchset!

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2014-05-05 22:38:22 -05:00