There's a race condition for if the VM gets powered off between the
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-remote-proxy
index c94a764..983d524 100755 (executable)
@@ -14,9 +14,9 @@ esac
 case "$TYPE/$SERVICE" in
     web/listvms )
        sipb-xen-remote-listvms "$@" ;;
-    control/create )
-       sipb-xen-remote-create "$MACHINE" "$@" ;;
-    control/listhost )
+    control/create|control/install )
+       sipb-xen-remote-create "$SERVICE" "$MACHINE" "$@" ;;
+    control/listhost|control/list-host )
        sipb-xen-remote-listhost "$MACHINE" "$@" ;;
     control/* )
        # Everything but create must go where the VM is already running.