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

5 Commits

Author SHA1 Message Date
Benjamin Peterson
9f86a0b925 mark some internal functions static 2017-11-29 23:38:19 -08: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
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