Fixed missing import
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-remote
index 8511f60..931ec4e 100755 (executable)
@@ -11,18 +11,18 @@ case "$TYPE" in
     control)
         # $SERVICE is hostname
         COMMAND=/usr/sbin/invirt-vmcontrol
-       ;;
+    ;;
     web)
         case "$SERVICE" in
             lvcreate|lvremove|lvrename|lvresize)
                 COMMAND=/usr/sbin/invirt-lvm
-               ;;
+            ;;
             listvms)
                 COMMAND=/usr/sbin/invirt-listvms
-               ;;
-           info)
-               COMMAND=/usr/sbin/xm
-               ;;
+            ;;
+            availability)
+                COMMAND=/usr/sbin/invirt-availability
+            ;;
             vnccert)
                 COMMAND=/usr/bin/invirt-vnc-getcert
                 ;;
@@ -31,7 +31,7 @@ case "$TYPE" in
                 exit 34
                 ;;
         esac
-       ;;
+    ;;
     *)
         echo "ERROR: invalid command"
         exit 34