[Users] Re: Network configuration

b52 at entrap.de b52 at entrap.de
Wed Feb 13 12:15:06 EST 2008


>so the question is :
>
>is it possible to know in the EXTERNAL_SCRIPT, for which interface, the
>script is execute ?

Hi,

your script will be executed with parameters.

I tried this to find them out:

mrwhite:/# cat /etc/vz/vznet.conf
EXTERNAL_SCRIPT="/opt/sbin/vznetaddnet"

mrwhite:/# cat /opt/sbin/vznetaddnet
#!/bin/bash
echo $@

and while startup this prints:
init veth veth101.10
init veth veth101.20

bye,b52




More information about the Users mailing list