Modified invirt-remote-create to use new availability remctl.
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-remote
index 8511f60..948d0f0 100755 (executable)
@@ -20,9 +20,12 @@ case "$TYPE" in
             listvms)
                 COMMAND=/usr/sbin/invirt-listvms
                ;;
-           info)
-               COMMAND=/usr/sbin/xm
-               ;;
+               info)
+                COMMAND=/usr/sbin/xm
+            ;;
+            availability)
+                COMMAND=/usr/sbin/invirt-availability
+            ;;
             vnccert)
                 COMMAND=/usr/bin/invirt-vnc-getcert
                 ;;