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
exit 34
;;
esac
- ;;
+ ;;
*)
echo "ERROR: invalid command"
exit 34