diff options
| author | Ian Campbell <ian.campbell@citrix.com> | 2009-09-09 18:09:00 +0100 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2009-09-09 10:41:38 -0700 |
| commit | e44d18446300163c9c3026e4cdcbb8ec4ab8907e (patch) | |
| tree | 24abc90fb3e07813ddfbe18e93f7c9441150b09e /xenserver/etc_xensource_scripts_vif | |
| parent | 1cee7f2815c37b136a0bc071571cb05355277695 (diff) | |
| download | openvswitch-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-x | xenserver/etc_xensource_scripts_vif | 4 |
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" |
