[lxc-users] lxc-attach from python

Rory Campbell-Lange rory at campbell-lange.net
Tue Jun 30 23:18:18 UTC 2015


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



More information about the lxc-users mailing list