Our xenserver scripts were attempting to use /etc/sysconfig/vswitch for
two different purposes: as both a file and a directory. Move one of them.
logger -t scripts-vif "Adding ${vif} to ${bridge} with address ${address}"
vid=
- if [ -e "/etc/sysconfig/vswitch/br-$bridge" ]; then
- . "/etc/sysconfig/vswitch/br-$bridge"
+ if [ -e "/etc/openvswitch/br-$bridge" ]; then
+ . "/etc/openvswitch/br-$bridge"
if [ -n "$VLAN_SLAVE" -a -n "$VLAN_VID" ]; then
bridge=$VLAN_SLAVE
vid="--add=vlan.$vif.tag=$VLAN_VID"
management_pif = None
dbcache_file = "/etc/vswitch.dbcache"
-vswitch_config_dir = "/etc/sysconfig/vswitch"
+vswitch_config_dir = "/etc/openvswitch"
class Usage(Exception):
def __init__(self, msg):