Make invirt-lvm lvcreate-all use sqlalchemy correctly.
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-remote
index 4c78d4e..5168da8 100755 (executable)
@@ -14,7 +14,7 @@ case "$TYPE" in
     ;;
     web)
         case "$SERVICE" in
     ;;
     web)
         case "$SERVICE" in
-            lvcreate|lvremove|lvrename|lvresize)
+            lvcreate|lvremove|lvrename|lvresize|vgcapacity)
                 COMMAND=/usr/sbin/invirt-lvm
             ;;
             listvms)
                 COMMAND=/usr/sbin/invirt-lvm
             ;;
             listvms)
@@ -26,6 +26,9 @@ case "$TYPE" in
             vnccert)
                 COMMAND=/usr/bin/invirt-vnc-getcert
                 ;;
             vnccert)
                 COMMAND=/usr/bin/invirt-vnc-getcert
                 ;;
+            checkdisks)
+                COMMAND=/usr/sbin/invirt-check-disks
+                ;;
             *)
                 echo "ERROR: invalid subcommand"
                 exit 34
             *)
                 echo "ERROR: invalid subcommand"
                 exit 34