[lxc-users] Config settings and Python LXC Api calls
Stéphane Graber
stgraber at ubuntu.com
Thu Aug 28 02:20:48 UTC 2014
On Wed, Aug 27, 2014 at 06:36:20PM -0700, Kevin LaTona wrote:
>
> Question 1…...Config settings
>
> Can any one point me towards a spot that shows all the possible config settings for a container's config file?
>
> I've can see some in the examples, but still have not found docs that show all the possible config setting one can consider.
man lxc.container.conf
>
> Question 2……Python LXC Api calls
>
> Does any one know if the Python API has a call that parse's all the key names from a container's config file?
>
> I see a getter and setter for them, but that means I need to know ahead of time what config settings are in a file.
>
> VS
>
> Wanting to be able to read a config file's Keys on the fly and reacting based on that?
load_config
> Oh and for any Python geeks on the list, if you are not using the Python APi calls… do check them out… they are worth the time learning.
>
> Even if you are not a Python geek, might be worth the time to learn a little Python vs making subprocess shell calls and all that bundle of fun.
>
>
>
>
> Thanks
> -Kevin
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140827/536dab42/attachment.sig>
More information about the lxc-users
mailing list