Changeset 127 for trunk


Ignore:
Timestamp:
Oct 7, 2007, 8:49:00 PM (17 years ago)
Author:
tabbott
Message:

more web interface updates

Location:
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/dispatch.sh

    r121 r127  
    1212ACTION=$(echo "$0" | awk -F'.' '{print $2}')
    1313MACHINE="$1"
    14 echo "$ACTION"
     14#echo "$0" "$ACTION"
    1515
    1616case "$ACTION" in
    17     reboot|list|vcpu-list|destroy|create|uptime)
     17    list|vcpu-list|destroy|create|uptime)
    1818        xm "$ACTION" "$MACHINE"
    1919        exit 0
     20        ;;
     21    reboot-with-cdrom)
     22        xm shutdown "$MACHINE"
     23        xm create sipb-database machine_name="$MACHINE" cdrom_image="$2"
     24        ;;
     25    reboot)
     26        if [ -n "$2" ]; then
     27            /usr/sbin/dispatch.reboot-with-cdrom.sh "$1" "$2" &
     28        else
     29            xm reboot "$MACHINE"
     30        fi
    2031        ;;
    2132    list-long)
Note: See TracChangeset for help on using the changeset viewer.