[lxc-devel] [PATCH] add lxc.network.script(.pre|.post|) configuration hooks
Michael Tokarev
mjt at tls.msk.ru
Fri Oct 8 16:53:17 UTC 2010
08.10.2010 19:45, Daniel Lezcano wrote:
[]
>> There IS a trivial way to extend system already (when
>> just ONE hook is implemented) - chain your scripts.
>> There's no need to re-implement shell in lxc.
>>
>
> Michael, I am not sure I get the idea. Can you elaborate a bit ?
> In our case, we need the veth name which is available in
> instanciate_veth, no ?
I'm trying to say that one script is enough, that's basically it ;)
"Before" (that makes no sense), "During" and "After" - just use one
"During", with all the proper names and other parameters. That calls
a script, and that script is free to call other scripts at will.
/mjt
More information about the lxc-devel
mailing list