Re: howto auto add VE veth to a HN bridge upon VE startup? [message #20358 is a reply to message #20319] |
Mon, 17 September 2007 09:29 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
piavlo wrote on Sun, 16 September 2007 16:07 | OK just found out the vznetcfg script which sources the vznet.conf file, and runs EXTERNAL_SCRIPT prior to bringing the veth device up.
|
Alex, you are right that vznetcfg brings up the veth device in case of EXTERNAL_SCRIPT variable is empty. But it doesn't run EXTERNAL_SCRIPT _prior_ to bringing the veth device up, if EXTERNAL_SCRIPT is filled it (EXTERNAL_SCRIPT) is executed instead of vznetcfg normal configuration. It was by design - in theory the administrator can write down his own network start up script and it should not depend on what vznetcfg does (cause it can and i suppose it will change its behaviour).
Konstantin.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|