Changeset 2255 for trunk/packages


Ignore:
Timestamp:
Mar 16, 2009, 9:27:05 PM (16 years ago)
Author:
price
Message:

invirt-remote: enumerate all the subcommands on proxy server

Location:
trunk/packages/invirt-remote
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/debian/changelog

    r2245 r2255  
     1invirt-remote (0.3.10) unstable; urgency=low
     2
     3  * Let invirt-remote-proxy know all the possible subcommands.
     4
     5 -- Greg Price <price@mit.edu>  Mon, 16 Mar 2009 21:15:38 -0400
     6
    17invirt-remote (0.3.9) unstable; urgency=low
    28
  • trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy

    r2188 r2255  
    1919    web/availability )
    2020        invirt-remote-availability "$@" ;;
     21    web/lvcreate | web/lvremove | web/lvrename | web/lvresize )
     22        remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;
    2123    control/help )
    2224        invirt-remctl-help ;;
     
    2931        invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;;
    3032    * )
    31         remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;
     33        echo "ERROR: invalid subcommand"
     34        exit 34
     35        ;;
    3236esac
Note: See TracChangeset for help on using the changeset viewer.