xenserver: Fix path to invoke cfg-mod utility when removing a vif.
authorBen Pfaff <blp@nicira.com>
Fri, 15 May 2009 18:14:39 +0000 (11:14 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 15 May 2009 18:14:39 +0000 (11:14 -0700)
It's possible that this fixes a real bug.

xenserver/etc_xensource_scripts_vif

index 3331242304b7e504a3d7145a0b276117a41a1c28..43eafa7b246d9683e7780abe532f9027b4f8e4ed 100755 (executable)
@@ -121,7 +121,7 @@ remove)
        xenstore-rm "${HOTPLUG}/hotplug"
        vif=vif${DOMID}.${DEVID}
        logger -t scripts-vif "${vif} has been removed"
-       $cfg-mod -vANY:console:emer -F /etc/vswitchd.conf \
+        $cfg_mod -vANY:console:emer -F /etc/vswitchd.conf \
             --del-match="bridge.*.port=${vif}" \
            --del-match="vlan.${vif}.[!0-9]*"
        ;;