Possible flaw in /usr/sbin/vznetaddbr script [message #36415] |
Wed, 17 June 2009 10:35 |
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.
|
|
|