[lxc-devel] [PATCH 2/2] Update lxc-archlinux template to properly work with systemd and utilize arch-install-scripts for installation

2012-12-09 Thread Alexander Vladimirov
--- templates/lxc-archlinux.in | 285 - 1 file changed, 51 insertions(+), 234 deletions(-) diff --git a/templates/lxc-archlinux.in b/templates/lxc-archlinux.in index 18ec064..c68e502 100644 --- a/templates/lxc-archlinux.in +++ b/templates/lxc-archlinux.

[lxc-devel] [PATCH 1/2] Add mount hook script to provide systemd containers with minimal /dev

2012-12-09 Thread Alexander Vladimirov
--- Makefile.am | 4 ++-- configure.ac | 4 hooks/Makefile.am | 4 hooks/mount.in| 11 +++ 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 hooks/Makefile.am create mode 100644 hooks/mount.in diff --git a/Makefile.am b/Makefile.am index 05

Re: [lxc-devel] [PATCH] python: Update add_device_node to use the new API

2012-12-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Update add_device_node to use the new set_cgroup_item call instead > of having to figure out the cgroup paths and update the entries manually. > > Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn > --- > src/python-lxc/lxc/__init__.py.i

Re: [lxc-devel] [PATCH 2/3] python: Add binding for {get|set}_cgroup_item

2012-12-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Updates the binding for the two new functions. > > This also fixes some problems with the argument checking of > get_config_item that'd otherwise lead to a segfault. > > The python binding for set_cgroup_item and get_cgroup_item are pretty > raw as

Re: [lxc-devel] [PATCH 3/3] gitignore: Update for python files

2012-12-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn Wonder if a .git commit hook could automatically check for these. > --- > .gitignore | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/.gitignore b/.gitignore > index 79dd77a..

Re: [lxc-devel] [PATCH 1/3] python: get_keys() doesn't require a path

2012-12-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > The python binding was forcing the user to pass a base path to > get_keys() even though the C binding doesn't require it. > > Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn > --- > src/python-lxc/lxc/__init__.py.in | 7 +-- > 1 fi

[lxc-devel] [PATCH] python: Update add_device_node to use the new API

2012-12-09 Thread Stéphane Graber
Update add_device_node to use the new set_cgroup_item call instead of having to figure out the cgroup paths and update the entries manually. Signed-off-by: Stéphane Graber --- src/python-lxc/lxc/__init__.py.in | 40 ++- 1 file changed, 10 insertions(+), 30 del