> I suggest you add a lxc.network.script section where it will be
> called from each instanciate_*

I thought about that, but I think that name is to generic - it might be
useful to provide several different locations to call a script. In my case,
the obvious location is the instanciation function, where the name of the
host-facing veth device is available; for other purposes, the script should
be called after the network configuration has been completed.

So I'd propose to introduce a few new variables, e.g.

lxc.network.script.pre          # called before network setup
lxc.network.script.create       # called during instanciate_*
lxc.network.script.post         # called after network setup

Any thoughts about that?

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to