OpenVZ Forum


Home » Mailing lists » Users » Network configuration
Re: Network configuration [message #27352 is a reply to message #24979] Wed, 13 February 2008 17:15 Go to previous message
b52_ is currently offline  b52_
Messages: 2
Registered: February 2008
Junior Member
>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
 
Read Message
Read Message
Previous Topic: fake swap != 0 in VE?
Next Topic: calculation of resource values (numfiles)
Goto Forum:
  


Current Time: Tue Sep 17 15:34:16 GMT 2024

Total time taken to generate the page: 0.05159 seconds