>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


_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to