summaryrefslogtreecommitdiff
path: root/xenserver/etc_xensource_scripts_vif
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2009-09-09 18:09:00 +0100
committerBen Pfaff <blp@nicira.com>2009-09-09 10:41:38 -0700
commite44d18446300163c9c3026e4cdcbb8ec4ab8907e (patch)
tree24abc90fb3e07813ddfbe18e93f7c9441150b09e /xenserver/etc_xensource_scripts_vif
parent1cee7f2815c37b136a0bc071571cb05355277695 (diff)
downloadopenvswitch-e44d18446300163c9c3026e4cdcbb8ec4ab8907e.tar.gz
Move vswitch state files to /var/lib.
I believe this is the correct location for files of this type.
Diffstat (limited to 'xenserver/etc_xensource_scripts_vif')
-rwxr-xr-xxenserver/etc_xensource_scripts_vif4
1 files changed, 2 insertions, 2 deletions
diff --git a/xenserver/etc_xensource_scripts_vif b/xenserver/etc_xensource_scripts_vif
index c3baba9e0..8217fb00c 100755
--- a/xenserver/etc_xensource_scripts_vif
+++ b/xenserver/etc_xensource_scripts_vif
@@ -71,8 +71,8 @@ add_to_bridge()
logger -t scripts-vif "Adding ${vif} to ${bridge} with address ${address}"
vid=
- if [ -e "/etc/openvswitch/br-$bridge" ]; then
- . "/etc/openvswitch/br-$bridge"
+ if [ -e "/var/lib/openvswitch/br-$bridge" ]; then
+ . "/var/lib/openvswitch/br-$bridge"
if [ -n "$VLAN_SLAVE" -a -n "$VLAN_VID" ]; then
bridge=$VLAN_SLAVE
vid="--add=vlan.$vif.tag=$VLAN_VID"