X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/315d974f414c74456adbf60eb9912a8908421939..813c4903ad9ead179d5f2aeaac8b7a551158a002:/host/usr/sbin/invirt-remote diff --git a/host/usr/sbin/invirt-remote b/host/usr/sbin/invirt-remote index 8511f60..ceb8182 100755 --- a/host/usr/sbin/invirt-remote +++ b/host/usr/sbin/invirt-remote @@ -11,18 +11,18 @@ case "$TYPE" in control) # $SERVICE is hostname COMMAND=/usr/sbin/invirt-vmcontrol - ;; + ;; web) case "$SERVICE" in - lvcreate|lvremove|lvrename|lvresize) + lvcreate|lvremove|lvrename|lvresize|vgcapacity) COMMAND=/usr/sbin/invirt-lvm - ;; + ;; listvms) COMMAND=/usr/sbin/invirt-listvms - ;; - info) - COMMAND=/usr/sbin/xm - ;; + ;; + availability|avail) + 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