[lxc-users] lxc-attach from python
Ranjib Dey
dey.ranjib at gmail.com
Tue Jun 30 23:57:57 UTC 2015
https://github.com/lxc/lxc/blob/master/src/python-lxc/examples/api_test.py#L121
hth
On Tue, Jun 30, 2015 at 4:18 PM, Rory Campbell-Lange <
rory at campbell-lange.net> wrote:
> I've been playing with the lxc python api from the python3 command line.
> I can't find a way to do something like this from python:
>
> lxc-attach -n debian-wheezy -- apt-get install rsync
>
> which works with the vanilla lxc-attach command.
>
> My thought is that my team could load debian packages from a yaml or
> other structured file via the python api.
>
> Rory
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150630/d6679809/attachment.html>
More information about the lxc-users
mailing list