X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=xenserver%2Fetc_xapi.d_plugins_openvswitch-cfg-update;h=6da86d5cda7ebf98a4b3f7f1f0844db1118520ba;hb=e3648418c4bf028e6bca38bcbfc5a5ed493447fb;hp=ebc1b36bcd2faa0a55641c8b2c41e584739b90a4;hpb=bc31db1fef627145149241281f33a92025ae50d5;p=openvswitch diff --git a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update index ebc1b36b..6da86d5c 100755 --- a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update +++ b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update @@ -40,9 +40,9 @@ def delete_cacert(): def update(session, args): # Refresh bridge network UUIDs in case this host joined or left a pool. - script = "/usr/share/openvswitch/scripts/refresh-network-uuids" + script = "/opt/xensource/libexec/interface-reconfigure" try: - retval = subprocess.call(script) + retval = subprocess.call([script, "rewrite"]) if retval != 0: syslog.syslog("%s exited with status %d" % (script, retval)) except OSError, e: