[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-devel
Subject: [lxc-devel] Including files in LXC config
From: andre () digirati ! com ! br (Andre Nathan)
Date: 2011-12-06 17:56:59
Message-ID: 1323194219.15535.15.camel () andre
[Download RAW message or body]
Hi
Guido J?kel has pointed out that I missed a globfree() call, so that
would have to be added.
There's also the question about redefining pre-existing parameters.
Should this be allowed or should it be an error?
Thanks,
Andre
On Tue, 2011-12-06 at 13:10 -0200, Andre Nathan wrote:
> Hello
>
> Attached is a patch that allows one to include other configuration files
> from the main container config. The main motivation is to make the
> automation of container configuration changes easier. Shell globs are
> allowed, so you can do
>
> lxc.include = /var/lib/lxc/mycontainer/conf.d/*.conf
>
> I used the config value "lxc.include" to avoid having to change the
> parse_line function, but since this is not really an LXC setting, maybe
> something different would be desired (maybe "#include"?)
>
> Any comments are appreciated.
>
> Thanks in advance,
> Andre
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of
> discussion for anyone considering optimizing the pricing and packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________ Lxc-devel mailing list Lxc-devel at \
> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic