summaryrefslogtreecommitdiff
path: root/xenserver/opt_xensource_libexec_interface-reconfigure
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-09-11 15:13:08 -0700
committerBen Pfaff <blp@nicira.com>2009-09-11 15:13:08 -0700
commiteaa3c7e88b315d1d018b702ed3b9bea768a966c5 (patch)
treeb38bcbef942c5a070ffa54030971ae42156f125c /xenserver/opt_xensource_libexec_interface-reconfigure
parentac9634f0af8d2cf8259a3cf7d7d6e19cc0d67457 (diff)
downloadopenvswitch-eaa3c7e88b315d1d018b702ed3b9bea768a966c5.tar.gz
xenserver: Install into /usr instead of /root/vswitch.
/usr is the standard location for installation, so use that instead of our nonstandard location under /root. This migrates everything except the kernel modules to /usr. The kernel modules will be migrated in an upcoming commit. One possibly surprising change is that the manpages listed in the %files section of vswitch-xen.spec not only moved but added .gz extensions. This seems to be because RPM automatically compresses manpages, but only if they are installed in a standard system location.
Diffstat (limited to 'xenserver/opt_xensource_libexec_interface-reconfigure')
-rwxr-xr-xxenserver/opt_xensource_libexec_interface-reconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/xenserver/opt_xensource_libexec_interface-reconfigure b/xenserver/opt_xensource_libexec_interface-reconfigure
index 70749b8a3..13c688844 100755
--- a/xenserver/opt_xensource_libexec_interface-reconfigure
+++ b/xenserver/opt_xensource_libexec_interface-reconfigure
@@ -1031,7 +1031,7 @@ def configure_physdev(pif):
run_ethtool(device, oc)
def modify_config(commands):
- run_command(['/root/vswitch/bin/ovs-cfg-mod', '-vANY:console:emer',
+ run_command(['/usr/bin/ovs-cfg-mod', '-vANY:console:emer',
'-F', '/etc/ovs-vswitchd.conf']
+ commands + ['-c'])
run_command(['/sbin/service', 'vswitch', 'reload'])