Dies schrieb Michael Tokarev (m...@tls.msk.ru):

> > I added a configuration option "lxc.network.veth.script" to specify a
> > script to be executed during the network configuration phase. That custom
> > script can be used to set firewall rules and
> 
> How about naming it "lxc.network.script", without the "veth" part?  Does it
> have something specific to veth, or is it generic enough?  (note that for
> different types of network devices different scripts can be specified).

I thought about that, but the script is called from inside the function
instanciate_veth, where it uses the host side veth device as an argument to the
script. Using a script to setup networking on the host is needed there unless
you use a bridge, it is probably not required when using e.g. physical
networking, but I'd also advocate for introducing more general purpose script
hooks, allowing more flexibility when using containers.

------------------------------------------------------------------------------
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