X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/b28ef7ddcb14f44c694a55dc547571ff30c3c5cc..7339891c2377d09611ba01b2f2496ae3aa151329:/host/usr/sbin/invirt-remote?ds=inline diff --git a/host/usr/sbin/invirt-remote b/host/usr/sbin/invirt-remote index 948d0f0..931ec4e 100755 --- a/host/usr/sbin/invirt-remote +++ b/host/usr/sbin/invirt-remote @@ -11,17 +11,14 @@ 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 @@ -34,7 +31,7 @@ case "$TYPE" in exit 34 ;; esac - ;; + ;; *) echo "ERROR: invalid command" exit 34