OpenVZ Forum


Home » General » Support » Possible flaw in /usr/sbin/vznetaddbr script
Possible flaw in /usr/sbin/vznetaddbr script [message #36415] Wed, 17 June 2009 10:35 Go to previous message
starfry is currently offline  starfry
Messages: 24
Registered: March 2009
Location: Coulsdon, Surrey, UK
Junior Member
Hello,

I have a bridged configuration working as per the instructions on the page at http://wiki.openvz.org/Virtual_Ethernet_device.

I find that, with the suggested script /usr/sbin/vznetaddbr in place, the "vzctl set 101 --netif eth0 --save" does not work because that script exits if a netif is not already there!

To make it work, I have changed the exit status of the first if-block so it is 0 instead of 1.

This works for me, but I wanted to ask here in case there might be some other reason for the error.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: move or create vps to secondary hardisk?
Next Topic: CSF firewall giving problem in openvz VPS
Goto Forum:
  


Current Time: Sun Aug 18 13:17:42 GMT 2024

Total time taken to generate the page: 0.03051 seconds