Changes to add a new lxc-device command. This extands the python API to add a add_device() function to the Container object.
lxc-device then uses that function to let you add new devices to a container at run time. It'll create the device node in the container matching the one on the host and will add the required entry in the cgroup whitelist. Stéphane Graber (2): python: Add add_device() function python: Add new lxc-device tool src/lxc/Makefile.am | 1 + src/lxc/lxc-device | 59 ++++++++++++++++++++++++++++++++++++++++ src/python-lxc/lxc/__init__.py | 61 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+) create mode 100644 src/lxc/lxc-device -- 1.8.0 ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel